use stylua to format lua files

This commit is contained in:
jdhao
2024-11-05 21:56:18 +01:00
parent 4171f190f2
commit 590bd6c7e6
+2
View File
@@ -3,3 +3,5 @@ set formatoptions-=o
set formatoptions-=r
nnoremap <buffer><silent> <F9> :luafile %<CR>
nnoremap <buffer><silent> <space>f <cmd>!stylua %<CR>