mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
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()`.
This commit is contained in:
parent
c3848e713a
commit
4fb966da95
28 changed files with 0 additions and 40 deletions
|
|
@ -1 +0,0 @@
|
|||
setlocal commentstring=#\ %s
|
||||
|
|
@ -1 +0,0 @@
|
|||
setlocal commentstring=#\ %s
|
||||
|
|
@ -1 +0,0 @@
|
|||
setlocal commentstring=<%#\ %s\ %>
|
||||
|
|
@ -1 +0,0 @@
|
|||
setlocal commentstring=;\ %s
|
||||
|
|
@ -1 +0,0 @@
|
|||
setlocal commentstring={!--\ %s\ --}
|
||||
|
|
@ -1 +0,0 @@
|
|||
autocmd BufRead,BufNewFile *.cook set filetype=cooklang
|
||||
|
|
@ -1 +0,0 @@
|
|||
autocmd BufRead,BufNewFile *.fusion setfiletype fusion
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
autocmd BufRead,BufNewFile *.tscn setlocal ft=gdresource
|
||||
autocmd BufRead,BufNewFile *.tres setlocal ft=gdresource
|
||||
|
|
@ -1 +0,0 @@
|
|||
autocmd BufNewFile,BufRead *.gd set ft=gdscript
|
||||
|
|
@ -1 +0,0 @@
|
|||
autocmd BufNewFile,BufRead *.hbs set ft=handlebars
|
||||
|
|
@ -1 +0,0 @@
|
|||
autocmd BufNewFile,BufRead *.glsl set filetype=glsl
|
||||
|
|
@ -1 +0,0 @@
|
|||
au BufRead,BufNewFile go.work set filetype=gowork
|
||||
|
|
@ -1 +0,0 @@
|
|||
autocmd BufNewFile,BufRead *.graphql,*.graphqls,*.gql setfiletype graphql
|
||||
|
|
@ -1 +0,0 @@
|
|||
autocmd BufRead,BufNewFile *.hack,*.hackpartial setfiletype hack
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
autocmd BufRead,BufNewFile *.hcl set filetype=hcl
|
||||
autocmd BufRead,BufNewFile *.tf,*.tfvars set filetype=terraform
|
||||
|
|
@ -1 +0,0 @@
|
|||
au BufRead,BufNewFile *.heex set filetype=heex
|
||||
|
|
@ -1 +0,0 @@
|
|||
autocmd BufNewFile,BufRead *.hjson set filetype=hjson
|
||||
|
|
@ -1 +0,0 @@
|
|||
autocmd BufNewFile,BufRead *.json5 set ft=json5
|
||||
|
|
@ -1 +0,0 @@
|
|||
autocmd BufRead,BufNewFile *.ldg,*.ledger,*.journal setfiletype ledger
|
||||
|
|
@ -1 +0,0 @@
|
|||
autocmd BufRead,BufNewFile *.nix setfiletype nix
|
||||
|
|
@ -1 +0,0 @@
|
|||
autocmd BufRead,BufNewFile *.prisma set filetype=prisma
|
||||
|
|
@ -1 +0,0 @@
|
|||
au BufRead,BufNewFile *.pug setlocal filetype=pug
|
||||
|
|
@ -1 +0,0 @@
|
|||
autocmd BufRead,BufNewFile *.ql,*.qll setfiletype ql
|
||||
|
|
@ -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("%"))
|
||||
|
|
@ -1 +0,0 @@
|
|||
au BufRead,BufNewFile *.sface set filetype=surface
|
||||
|
|
@ -1 +0,0 @@
|
|||
autocmd BufRead,BufNewFile *.tl setfiletype teal
|
||||
|
|
@ -1 +0,0 @@
|
|||
au BufRead,BufNewFile *.tla set filetype=tla
|
||||
|
|
@ -1 +0,0 @@
|
|||
au BufRead,BufNewFile *.yang set filetype=yang
|
||||
Loading…
Add table
Add a link
Reference in a new issue