mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-14 06:02:55 +00:00
38 lines
1.0 KiB
Lua
38 lines
1.0 KiB
Lua
|
-- =======================================================================
|
||
|
-- Syntax
|
||
|
-- =======================================================================
|
||
|
|
||
|
local M = {}
|
||
|
|
||
|
M.packer = function(use)
|
||
|
-- 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
|
||
|
end
|
||
|
|
||
|
return M
|