nixos/lua/vimcommands.lua

12 lines
430 B
Lua
Raw Normal View History

-- TODO convert to lua
2022-11-07 16:41:35 +00:00
vim.cmd("let &t_ut=''") -- For kitty background colour support
vim.cmd [[
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
]]