" Lux filetype settings " Indentation setlocal expandtab setlocal shiftwidth=4 setlocal softtabstop=4 setlocal tabstop=4 " Comments setlocal commentstring=//\ %s setlocal comments=:// " Folding setlocal foldmethod=syntax " Match pairs setlocal matchpairs+=<:> " Format options setlocal formatoptions-=t setlocal formatoptions+=croql " Completion setlocal omnifunc=v:lua.vim.lsp.omnifunc " Key mappings for Lux development nnoremap r :!lux % nnoremap f :!lux fmt % nnoremap t :!lux test