Compare commits
2 commits
dce111ff7f
...
e46f348744
Author | SHA1 | Date | |
---|---|---|---|
e46f348744 | |||
2eccf9737c |
|
@ -52,8 +52,8 @@ end
|
|||
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
main = "nvim-treesitter.configs",
|
||||
build = ":TSUpdate",
|
||||
name = "nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
opts = {
|
||||
indent = { enable = true },
|
||||
highlight = { enable = true },
|
||||
|
@ -61,4 +61,8 @@ return {
|
|||
auto_install = true,
|
||||
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)
|
||||
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
|
||||
require("lspconfig")[lsp].setup{
|
||||
capabilities = capabilities,
|
||||
|
|
Loading…
Reference in a new issue