From 4fb966da95cf20dcd4e2e523faae07920f0640c2 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sat, 16 Apr 2022 11:09:12 +0200 Subject: chore!: remove filetype detection and filetype plugins All these are now detected by Neovim as of 0.7.0; new filetypes can easily be added via `vim.filetype.add()`. --- ftdetect/query.vim | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 ftdetect/query.vim (limited to 'ftdetect/query.vim') 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("%")) -- cgit v1.2.3-70-g09d2