Add LSP stuff
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
config = function()
|
||||
local install = require("nvim-treesitter.install")
|
||||
local configs = require("nvim-treesitter.configs")
|
||||
-- "nvim-treesitter/nvim-treesitter",
|
||||
-- build = ":TSUpdate",
|
||||
-- config = function()
|
||||
-- local install = require("nvim-treesitter.install")
|
||||
-- local configs = require("nvim-treesitter.configs")
|
||||
|
||||
install = {
|
||||
compilers = { clang },
|
||||
prefer_git = false,
|
||||
}
|
||||
-- install = {
|
||||
-- compilers = { clang },
|
||||
-- prefer_git = false,
|
||||
-- }
|
||||
|
||||
configs.setup({
|
||||
ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "cmake", "query" },
|
||||
sync_install = false,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
})
|
||||
end
|
||||
-- configs.setup({
|
||||
-- ensure_installed = { "c", "cpp", "lua", "vim", "vimdoc", "cmake", "query" },
|
||||
-- sync_install = false,
|
||||
-- highlight = { enable = true },
|
||||
-- indent = { enable = true },
|
||||
-- })
|
||||
-- end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user