diff options
Diffstat (limited to 'ftdetect/query.vim')
| -rw-r--r-- | ftdetect/query.vim | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ftdetect/query.vim b/ftdetect/query.vim deleted file mode 100644 index 8339b6ba9..000000000 --- a/ftdetect/query.vim +++ /dev/null @@ -1,11 +0,0 @@ -" Last Change: 2020 Sep 01 - -function! s:shouldFt(path) - let l:q_dir = fnamemodify(a:path, ":p:h:h:t") - - if l:q_dir =~? "queries" - setlocal ft=query - endif -endfunction - -autocmd BufNewFile,BufRead *.scm call s:shouldFt(expand("%")) |
