1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 09:20:06 +08:00
SpaceVim/bundle/nvim-treesitter/scripts/minimal_init.lua
2022-11-14 00:10:02 +08:00

15 lines
398 B
Lua
Vendored

vim.cmd [[set runtimepath+=.]]
vim.cmd [[runtime! plugin/plenary.vim]]
vim.cmd [[runtime! plugin/nvim-treesitter.vim]]
vim.cmd [[au BufRead,BufNewFile *.conf set filetype=hocon]]
vim.cmd [[au BufRead,BufNewFile *.gleam set filetype=gleam]]
vim.o.swapfile = false
vim.bo.swapfile = false
require("nvim-treesitter.configs").setup {
indent = { enable = true },
highlight = { enable = true },
}