diff options
author | mhsn <mail@mhsn.net> | 2025-03-20 11:49:58 +0000 |
---|---|---|
committer | mhsn <mail@mhsn.net> | 2025-03-20 11:49:58 +0000 |
commit | 90224936dfcc5ee6d2d91cb0a2e2dbef1e3bd73c (patch) | |
tree | add6140f6f465bef241531c5789324b96dd443b9 | |
parent | 677401974d53507ee0cc2aca5ce15f888e81d2ed (diff) | |
download | nvim-90224936dfcc5ee6d2d91cb0a2e2dbef1e3bd73c.tar.gz nvim-90224936dfcc5ee6d2d91cb0a2e2dbef1e3bd73c.zip |
add treesitter and mason ensure-installeds
-rw-r--r-- | lua/plugins/mason.lua | 6 | ||||
-rw-r--r-- | lua/plugins/nvim-treesitter.lua | 15 |
2 files changed, 20 insertions, 1 deletions
diff --git a/lua/plugins/mason.lua b/lua/plugins/mason.lua index b978eaa..b28a40d 100644 --- a/lua/plugins/mason.lua +++ b/lua/plugins/mason.lua @@ -9,6 +9,12 @@ return { dependencies = { "mason.nvim" }, config = function() require("mason-lspconfig").setup({ + ensure_installed = { + "lua_ls", + "pylsp", + "rust_analyzer", + "tinymist", + }, handlers = { function(lsp) require("lspconfig")[lsp].setup({}) diff --git a/lua/plugins/nvim-treesitter.lua b/lua/plugins/nvim-treesitter.lua index 7bba53a..5428bcc 100644 --- a/lua/plugins/nvim-treesitter.lua +++ b/lua/plugins/nvim-treesitter.lua @@ -4,7 +4,20 @@ return { build = ":TSUpdate", config = function() require("nvim-treesitter.configs").setup({ - ensure_installed = { "vim", "vimdoc", "lua", "python", "rust" }, + ensure_installed = { + "vim", + "vimdoc", + "lua", + "python", + "rust", + "typst", + "ledger", + "markdown", + "html", + "css", + "json", + "nginx", + }, sync_install = false, highlight = { enable = true }, indent = { enable = true }, |