diff options
| author | Shatur95 <genaloner@gmail.com> | 2021-04-24 17:29:00 +0300 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-05-08 12:44:25 +0200 |
| commit | 9e0f764b675d987bbdd45af38531cc864c8cfc4c (patch) | |
| tree | f6668a38948db445fab154c1f412a2752daca5fb /ftdetect/query.vim | |
| parent | Add GDScript filetype (diff) | |
| download | nvim-treesitter-9e0f764b675d987bbdd45af38531cc864c8cfc4c.tar nvim-treesitter-9e0f764b675d987bbdd45af38531cc864c8cfc4c.tar.gz nvim-treesitter-9e0f764b675d987bbdd45af38531cc864c8cfc4c.tar.bz2 nvim-treesitter-9e0f764b675d987bbdd45af38531cc864c8cfc4c.tar.lz nvim-treesitter-9e0f764b675d987bbdd45af38531cc864c8cfc4c.tar.xz nvim-treesitter-9e0f764b675d987bbdd45af38531cc864c8cfc4c.tar.zst nvim-treesitter-9e0f764b675d987bbdd45af38531cc864c8cfc4c.zip | |
Use BufNewFile,BufRead for query filetype
Diffstat (limited to 'ftdetect/query.vim')
| -rw-r--r-- | ftdetect/query.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftdetect/query.vim b/ftdetect/query.vim index 182242754..8339b6ba9 100644 --- a/ftdetect/query.vim +++ b/ftdetect/query.vim @@ -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("%")) |
