nixpkgs/home/programs/neovim/configuration/after/ftplugin/php.vim
Daniel Siepmann 40cef5b623
Add LSP basics (PHP)
Add for PHP via existing phpactor as server.
Use new signature plugin for proper none irritating inline help during
function calls.

TODO: Get rid of preview window showing up …
2022-03-16 14:46:12 +01:00

13 lines
280 B
VimL

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=v:lua.vim.lsp.omnifunc
endif