nixpkgs/home/programs/neovim/configuration/after/ftplugin/php.vim

15 lines
364 B
VimL
Raw Normal View History

setlocal commentstring=//\ %s
" Activate spell chechking in php files, within php
set spell spelllang=en
syn spell toplevel
" Deactivate spell checking for now
set nospell
if exists('&omnifunc') && exists('g:loaded_phpactor')
setlocal omnifunc=phpactor#Complete
" Would enable autocompletion via lsp
" setlocal omnifunc=v:lua.vim.lsp.omnifunc
endif