nixos/config/nvim/lua/vimcommands.lua

12 lines
429 B
Lua
Raw Normal View History

-- TODO convert to lua
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
]]