2022-11-02 16:11:38 +00:00
|
|
|
-- TODO convert to lua
|
2022-11-07 16:41:35 +00:00
|
|
|
vim.cmd("let &t_ut=''") -- For kitty background colour support
|
|
|
|
vim.cmd [[
|
2022-11-02 16:11:38 +00:00
|
|
|
au BufRead,BufNewFile *.ipynb setlocal filetype=json
|
|
|
|
au BufRead,BufNewFile *.md setlocal spell
|
|
|
|
au BufRead,BufNewFile *.code-workspace setlocal filetype=json
|
|
|
|
au BufRead,BufNewFile *.csv setlocal nowrap
|
|
|
|
au BufRead,BufNewFile *.service[a-zA-Z0-9]* setlocal filetype=systemd
|
|
|
|
au TermOpen * setlocal nonumber norelativenumber
|
|
|
|
syntax on
|
|
|
|
]]
|