mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
We need to disable the mapping set for LSP, otherwise the mapping set in lua.vim will be overridden.
8 lines
218 B
VimL
8 lines
218 B
VimL
" Disable inserting comment leader after hitting o or O or <Enter>
|
|
set formatoptions-=o
|
|
set formatoptions-=r
|
|
|
|
nnoremap <buffer><silent> <F9> :luafile %<CR>
|
|
|
|
nnoremap <buffer><silent> <space>f <cmd>silent !stylua %<CR>
|