Cheatsheets and debuggin
This commit is contained in:
+14
-8
@@ -13,9 +13,10 @@ return {
|
||||
'saghen/blink.cmp',
|
||||
'folke/lazydev.nvim',
|
||||
},
|
||||
build = function()
|
||||
vim.fn.system 'composer global require jetbrains/phpstorm-stubs friendsofphp/php-cs-fixer'
|
||||
end,
|
||||
-- Might not be necessary for phpantom
|
||||
-- build = function()
|
||||
-- vim.fn.system 'composer global require jetbrains/phpstorm-stubs friendsofphp/php-cs-fixer'
|
||||
-- end,
|
||||
config = function()
|
||||
-- This function gets run when an LSP attaches to a particular buffer.
|
||||
-- That is to say, every time a new file is opened that is associated with
|
||||
@@ -115,10 +116,11 @@ return {
|
||||
},
|
||||
}
|
||||
|
||||
vim.lsp.phpactor = {
|
||||
cmd = { 'phpactor', 'language-server' },
|
||||
filetypes = { 'php' },
|
||||
}
|
||||
-- vim.lsp.config['phpantom'] = {
|
||||
-- filetypes = { 'php' },
|
||||
-- cmd = { 'phpantom_lsp' },
|
||||
-- root_markers = { 'composer.json', '.git' },
|
||||
-- }
|
||||
|
||||
-- Enable the following language servers
|
||||
--
|
||||
@@ -144,7 +146,11 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
-- phpactor = {},
|
||||
phpantom_lsp = {
|
||||
filetypes = { 'php' },
|
||||
cmd = { 'phpantom_lsp' },
|
||||
root_markers = { 'composer.json', '.git' },
|
||||
},
|
||||
vtsls = {
|
||||
settings = {
|
||||
vtsls = {
|
||||
|
||||
Reference in New Issue
Block a user