diff --git a/nvim-lazy-profile/lua/lsp.lua b/nvim-lazy-profile/lua/lsp.lua index 73a89db..eb30c8a 100644 --- a/nvim-lazy-profile/lua/lsp.lua +++ b/nvim-lazy-profile/lua/lsp.lua @@ -270,7 +270,7 @@ vim.api.nvim_create_autocmd('FileType', { callback = function() if vim.bo.filetype ~= "plaintex" and vim.bo.filetype ~= "tex" and vim.bo.filetype ~= "latex" and vim.bo.filetype ~= "qf" and vim.bo.filetype ~= "bib" and vim.bo.filetype ~= "" and vim.bo.filetype ~= "pdf" - and vim.bo.filetype ~= "conf" and vim.bo.filetype ~= "TelescopePrompt" and vim.bo.filetype ~= "lazy" and vim.bo.filetype ~= "lazy_backdrop" and vim.bo.filetype ~= "TelescopeResults" and vim.bo.filetype ~= "netrw" and vim.bo.filetype ~= "html.mustache" and vim.bo.filetype ~= "mustache" and vim.bo.filetype ~= "sage" and vim.bo.filetype ~= "sage.python" and vim.bo.filetype ~= "snacks_terminal" and vim.bo.filetype ~= "NvimTree" and vim.bo.filetype ~= "neo-tree" and vim.bo.filetype ~= "oil" and vim.bo.filetype ~= "minifiles" and vim.bo.filetype ~= "netrw" and vim.bo.filetype ~= "snacks_picker_list" and vim.bo.filetype ~= "codex" then + and vim.bo.filetype ~= "conf" and vim.bo.filetype ~= "TelescopePrompt" and vim.bo.filetype ~= "lazy" and vim.bo.filetype ~= "lazy_backdrop" and vim.bo.filetype ~= "TelescopeResults" and vim.bo.filetype ~= "netrw" and vim.bo.filetype ~= "html.mustache" and vim.bo.filetype ~= "mustache" and vim.bo.filetype ~= "sage" and vim.bo.filetype ~= "sage.python" and vim.bo.filetype ~= "snacks_terminal" and vim.bo.filetype ~= "NvimTree" and vim.bo.filetype ~= "neo-tree" and vim.bo.filetype ~= "oil" and vim.bo.filetype ~= "minifiles" and vim.bo.filetype ~= "netrw" and vim.bo.filetype ~= "snacks_picker_list" and vim.bo.filetype ~= "codex" and vim.bo.filetype ~= "text" then vim.treesitter.start() vim.wo[0][0].foldexpr = 'v:lua.vim.treesitter.foldexpr()' vim.wo[0][0].foldmethod = 'expr'