mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
remove ftdetect. add filetype hocon to minimal_init.lua
This commit is contained in:
parent
8ad4e74cfc
commit
00ebda5fd8
2 changed files with 2 additions and 1 deletions
|
|
@ -1 +0,0 @@
|
||||||
au BufRead,BufNewFile *.conf set filetype=hocon
|
|
||||||
|
|
@ -2,6 +2,8 @@ vim.cmd [[set runtimepath+=.]]
|
||||||
vim.cmd [[runtime! plugin/plenary.vim]]
|
vim.cmd [[runtime! plugin/plenary.vim]]
|
||||||
vim.cmd [[runtime! plugin/nvim-treesitter.vim]]
|
vim.cmd [[runtime! plugin/nvim-treesitter.vim]]
|
||||||
|
|
||||||
|
vim.cmd [[au BufRead,BufNewFile *.conf set filetype=hocon]]
|
||||||
|
|
||||||
vim.o.swapfile = false
|
vim.o.swapfile = false
|
||||||
vim.bo.swapfile = false
|
vim.bo.swapfile = false
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue