mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
use stylua to format lua files
This commit is contained in:
parent
4171f190f2
commit
590bd6c7e6
@ -3,3 +3,5 @@ set formatoptions-=o
|
|||||||
set formatoptions-=r
|
set formatoptions-=r
|
||||||
|
|
||||||
nnoremap <buffer><silent> <F9> :luafile %<CR>
|
nnoremap <buffer><silent> <F9> :luafile %<CR>
|
||||||
|
|
||||||
|
nnoremap <buffer><silent> <space>f <cmd>!stylua %<CR>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user