set no folds
This commit is contained in:
parent
c1726c87ca
commit
adfc4a9333
1 changed files with 5 additions and 3 deletions
|
|
@ -8,7 +8,6 @@ require('nvim-autopairs').setup{}
|
|||
|
||||
-- Enable gitsigns
|
||||
require('gitsigns').setup()
|
||||
|
||||
-- nvim-treesiter configuration: -- setup with all defaults
|
||||
require'nvim-treesitter.configs'.setup{
|
||||
ensure_installed = {"bash", "c", "c_sharp", "cmake", "cpp", "css", "dockerfile", "go", "html", "http", "java", "javascript", "json", "json5", "jsonc", "lua", "make", "markdown", "perl", "php", "pug", "python", "regex", "ruby", "toml", "tsx", "typescript", "vim", "vue", "wgsl", "yaml",},
|
||||
|
|
@ -17,8 +16,11 @@ require'nvim-treesitter.configs'.setup{
|
|||
|
||||
-- To enable basic vim folding methods/expressions:
|
||||
--
|
||||
vim.opt.foldmethod = "expr"
|
||||
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||
-- vim.opt.foldmethod = "expr"
|
||||
-- vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||
|
||||
-- Disable folds
|
||||
vim.g.nofoldenable = true
|
||||
--
|
||||
local lsp_installer = require("nvim-lsp-installer")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue