This commit is contained in:
h
2026-06-23 14:45:30 -04:00
parent 0f64debfdd
commit 4ab847b117
5 changed files with 86 additions and 9 deletions
+3 -3
View File
@@ -69,7 +69,7 @@ local lsp_confs = {
},
},
jedi_language_server = {
filetypes = { "python", "sage.python" },
filetypes = { "python", "sage.python", "sage" },
},
gopls = {},
dartls = {},
@@ -234,7 +234,7 @@ vim.api.nvim_create_autocmd(
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" 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 ~= "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
vim.cmd([[ :COQnow -s ]])
end
end
@@ -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" 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" then
vim.treesitter.start()
vim.wo[0][0].foldexpr = 'v:lua.vim.treesitter.foldexpr()'
vim.wo[0][0].foldmethod = 'expr'