dotfiles/modules/editor/neovim/syntax.lua
2022-05-07 18:11:47 -04:00

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