Compare commits
2 commits
dce111ff7f
...
e46f348744
Author | SHA1 | Date | |
---|---|---|---|
e46f348744 | |||
2eccf9737c |
|
@ -52,8 +52,8 @@ end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
main = "nvim-treesitter.configs",
|
name = "nvim-treesitter",
|
||||||
build = ":TSUpdate",
|
build = ":TSUpdate",
|
||||||
opts = {
|
opts = {
|
||||||
indent = { enable = true },
|
indent = { enable = true },
|
||||||
highlight = { enable = true },
|
highlight = { enable = true },
|
||||||
|
@ -61,4 +61,8 @@ 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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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", "denols", "pylsp" }
|
local servers = { "clangd", "rust_analyzer", "pyright", "gopls", "quick_lint_js", "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,
|
||||||
|
|
Loading…
Reference in a new issue