diff options
| -rw-r--r-- | lsp/asm.lua | 6 | ||||
| -rw-r--r-- | lua/config/lsp.lua | 1 | ||||
| -rw-r--r-- | lua/config/plugins/treesitter.lua | 11 |
3 files changed, 18 insertions, 0 deletions
diff --git a/lsp/asm.lua b/lsp/asm.lua new file mode 100644 index 0000000..5630949 --- /dev/null +++ b/lsp/asm.lua @@ -0,0 +1,6 @@ +return { + cmd = { "asm-lsp" }, + filetypes = { "asm", "s" }, + root_markers = { ".git", "Makefile" }, + single_file_support = true, +} diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua index 98f5f19..b8dac5c 100644 --- a/lua/config/lsp.lua +++ b/lua/config/lsp.lua @@ -68,6 +68,7 @@ vim.lsp.config("*", { }) vim.lsp.enable({ + "asm", "bash", "clangd", "crystal", diff --git a/lua/config/plugins/treesitter.lua b/lua/config/plugins/treesitter.lua index 3ace3aa..12306d7 100644 --- a/lua/config/plugins/treesitter.lua +++ b/lua/config/plugins/treesitter.lua @@ -19,10 +19,13 @@ return { config = function() require("nvim-treesitter.configs").setup({ ensure_installed = { + "asm", + "arduino", "bash", "c", "css", "diff", + "dot", "gitcommit", "html", "http", @@ -32,13 +35,21 @@ return { "make", "markdown", "markdown_inline", + "muttrc", + "nginx", "odin", + "pascal", "query", + "regex", "ruby", + "sql", + "tmux", + "vala", "vim", "vimdoc", "xml", "yaml", + "zig", }, auto_install = false, indent = { enable = true }, |
