mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Use BufNewFile,BufRead for query filetype
This commit is contained in:
parent
45e6ea9996
commit
9e0f764b67
1 changed files with 1 additions and 1 deletions
|
|
@ -8,4 +8,4 @@ function! s:shouldFt(path)
|
|||
endif
|
||||
endfunction
|
||||
|
||||
autocmd BufEnter,BufNewFile *.scm call s:shouldFt(expand("%"))
|
||||
autocmd BufNewFile,BufRead *.scm call s:shouldFt(expand("%"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue