mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-26 19:54:53 +00:00
32 lines
867 B
Lua
32 lines
867 B
Lua
-- =======================================================================
|
|
-- Syntax
|
|
-- =======================================================================
|
|
|
|
-- Syntax engine
|
|
use({
|
|
"nvim-treesitter/nvim-treesitter",
|
|
run = ":TSUpdate",
|
|
config = function()
|
|
require("nvim-treesitter.configs").setup({
|
|
ensure_installed = {
|
|
"hcl",
|
|
"python",
|
|
"lua",
|
|
"nix",
|
|
"fish",
|
|
"toml",
|
|
"yaml",
|
|
"json",
|
|
},
|
|
highlight = { enable = true },
|
|
indent = { enable = true },
|
|
})
|
|
end,
|
|
})
|
|
|
|
-- Additional syntax sources
|
|
use("bfontaine/Brewfile.vim") --- Brewfile syntax
|
|
use("chr4/nginx.vim") --- Nginx syntax
|
|
use("towolf/vim-helm") --- Helm syntax
|
|
use("rodjek/vim-puppet") --- Puppet syntax
|