Compare commits

..

No commits in common. "e46f3487444c29a1ce92d5c65cca6d168bbacaa1" and "dce111ff7fb2873a93ff5729a73f887a83c0c240" have entirely different histories.

2 changed files with 3 additions and 7 deletions

View file

@ -52,8 +52,8 @@ end
return { return {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
name = "nvim-treesitter", main = "nvim-treesitter.configs",
build = ":TSUpdate", build = ":TSUpdate",
opts = { opts = {
indent = { enable = true }, indent = { enable = true },
highlight = { enable = true }, highlight = { enable = true },
@ -61,8 +61,4 @@ return {
auto_install = true, auto_install = true,
sync_install = false, sync_install = false,
}, },
config = function (this, opts)
require(this.name .. ".configs").setup(opts);
require(this.name .. ".install").prefer_git = true;
end
} }

View file

@ -52,7 +52,7 @@ return {
config = function (_, opts) config = function (_, opts)
local capabilities = require("cmp_nvim_lsp").default_capabilities() local capabilities = require("cmp_nvim_lsp").default_capabilities()
local servers = { "clangd", "rust_analyzer", "pyright", "gopls", "quick_lint_js", "pylsp" } local servers = { "clangd", "rust_analyzer", "pyright", "gopls", "denols", "pylsp" }
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do
require("lspconfig")[lsp].setup{ require("lspconfig")[lsp].setup{
capabilities = capabilities, capabilities = capabilities,