Folding kinda annoying on smaller projects ie. AoC. Add lsp for wgsl and glsl

This commit is contained in:
2024-11-04 07:49:39 +01:00
parent a56b8f7029
commit 4c81d0b05b
2 changed files with 13 additions and 6 deletions

View File

@@ -42,10 +42,10 @@ vim.opt.expandtab = false
vim.opt.autoindent = true
vim.opt.smartindent = true
vim.opt.completeopt = { "menu", "menuone", "noselect" }
vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
vim.opt.foldtext = ""
vim.opt.foldlevelstart = 1
vim.opt.foldnestmax = 2
--vim.opt.foldmethod = "expr"
--vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
--vim.opt.foldtext = ""
--vim.opt.foldlevelstart = 1
--vim.opt.foldnestmax = 2
-- TODO replace config with opts in every plugin