[nvim] add grammalect
This commit is contained in:
parent
d533425bcd
commit
46d8707e32
4 changed files with 38 additions and 3 deletions
3
.config/nvim/lua/plugins/grammalect.lua
Normal file
3
.config/nvim/lua/plugins/grammalect.lua
Normal file
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
"dpelle/vim-Grammalecte",
|
||||
}
|
|
@ -1,6 +1,14 @@
|
|||
return {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = function()
|
||||
require("nvim-treesitter.install").update({ with_sync = true })()
|
||||
end,
|
||||
build = ":TSUpdate",
|
||||
config = function ()
|
||||
local configs = require("nvim-treesitter.configs")
|
||||
|
||||
configs.setup({
|
||||
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html" },
|
||||
sync_install = false,
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true },
|
||||
})
|
||||
end
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue