working nvf!
This commit is contained in:
parent
5548480371
commit
2a80c2bac1
53 changed files with 330 additions and 172 deletions
8
modules/editors/nvf/runtime/after/ftdetect/gitconfig.lua
Normal file
8
modules/editors/nvf/runtime/after/ftdetect/gitconfig.lua
Normal file
|
@ -0,0 +1,8 @@
|
|||
-- luacheck: ignore
|
||||
vim.api.nvim_create_autocmd({ 'BufNewFile', 'BufRead' }, {
|
||||
pattern = 'gitconfig*,.gitconfig*',
|
||||
callback = function()
|
||||
vim.bo.filetype = 'gitconfig'
|
||||
end,
|
||||
once = false,
|
||||
})
|
8
modules/editors/nvf/runtime/after/ftdetect/graphql.lua
Normal file
8
modules/editors/nvf/runtime/after/ftdetect/graphql.lua
Normal file
|
@ -0,0 +1,8 @@
|
|||
-- luacheck: ignore
|
||||
vim.api.nvim_create_autocmd({ 'BufNewFile', 'BufRead' }, {
|
||||
pattern = '*.graphql,*.graphqls,*.gql',
|
||||
callback = function()
|
||||
vim.bo.filetype = 'graphql'
|
||||
end,
|
||||
once = false,
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue