Fix .sqlfluff highlight
This commit is contained in:
parent
f2ef3b592a
commit
1e52742586
1 changed files with 6 additions and 0 deletions
|
|
@ -45,6 +45,12 @@ vim.api.nvim_create_autocmd('FileType', {
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Fix .sqlfluff highlight
|
||||||
|
vim.api.nvim_create_autocmd({ 'BufRead', 'BufNewFile' }, {
|
||||||
|
pattern = '*.sqlfluff',
|
||||||
|
command = 'set filetype=toml',
|
||||||
|
})
|
||||||
|
|
||||||
-- Enable mouse mode, can be useful for resizing splits for example!
|
-- Enable mouse mode, can be useful for resizing splits for example!
|
||||||
vim.opt.mouse = 'a'
|
vim.opt.mouse = 'a'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue