dotfiles/symlinks/config/nvim/after/ftplugin/gdscript.vim

9 lines
296 B
VimL

setlocal foldmethod=expr
setlocal tabstop=4
setlocal shiftwidth=4
nnoremap <buffer> <F4> :GodotRunLast<CR>
nnoremap <buffer> <F5> :GodotRun<CR>
nnoremap <buffer> <F6> :GodotRunCurrent<CR>
nnoremap <buffer> <F7> :GodotRunFZF<CR>
let b:undo_ftplugin .= '|setlocal foldmethod< tabstop< shiftwidth<'