Upgrade config
This commit is contained in:
@@ -74,11 +74,6 @@ return {
|
||||
callback = require('vectorcode.integrations').codecompanion.chat.make_tool(),
|
||||
},
|
||||
},
|
||||
keymaps = {
|
||||
send = {
|
||||
modes = { i = '<Enter>' },
|
||||
},
|
||||
},
|
||||
},
|
||||
inline = {
|
||||
adapter = 'flash',
|
||||
|
||||
@@ -87,7 +87,28 @@ return {
|
||||
|
||||
-- You can provide additional configuration to the handlers,
|
||||
-- see mason-nvim-dap README for more information
|
||||
handlers = {},
|
||||
handlers = {
|
||||
function(config)
|
||||
require('mason-nvim-dap').default_setup(config)
|
||||
end,
|
||||
php = function(config)
|
||||
config.configurations = {
|
||||
{
|
||||
type = 'php',
|
||||
request = 'launch',
|
||||
name = 'Listen for XDebug',
|
||||
port = 9003,
|
||||
log = true,
|
||||
-- pathMappings = {
|
||||
-- ['/var/www/html/'] = vim.fn.getcwd() .. '/',
|
||||
-- },
|
||||
hostname = '0.0.0.0',
|
||||
},
|
||||
}
|
||||
|
||||
require('mason-nvim-dap').default_setup(config)
|
||||
end,
|
||||
},
|
||||
|
||||
-- You'll need to check that you have the required things installed
|
||||
-- online, please don't ask me how to install them :)
|
||||
@@ -110,9 +131,9 @@ return {
|
||||
name = 'Listen for XDebug',
|
||||
port = 9003,
|
||||
log = true,
|
||||
pathMappings = {
|
||||
['/var/www/html/'] = vim.fn.getcwd() .. '/',
|
||||
},
|
||||
-- pathMappings = {
|
||||
-- ['/var/www/html/'] = vim.fn.getcwd() .. '/',
|
||||
-- },
|
||||
hostname = '0.0.0.0',
|
||||
},
|
||||
}
|
||||
|
||||
@@ -236,6 +236,10 @@ return {
|
||||
languages = { 'vue' },
|
||||
},
|
||||
},
|
||||
preferences = {
|
||||
importModuleSpecifierEnding = 'js',
|
||||
importModuleSpecifierPreference = 'project-relative',
|
||||
},
|
||||
},
|
||||
filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue' },
|
||||
},
|
||||
@@ -250,6 +254,12 @@ return {
|
||||
on_attach = function(client, bufnr)
|
||||
client.server_capabilities.documentFormattingProvider = false
|
||||
end,
|
||||
init_options = {
|
||||
['language_server_phpstan.enabled'] = false,
|
||||
['language_server_psalm.enabled'] = false,
|
||||
['language_server_php_cs_fixer.enabled'] = true,
|
||||
['language_server_php_cs_fixer.bin'] = '~/.composer/vendor/bin/php-cs-fixer',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
require('helpers').edit_cf('pt', '/lua/plugins/neotest.lua')
|
||||
return {
|
||||
'nvim-neotest/neotest',
|
||||
lazy = true,
|
||||
|
||||
Reference in New Issue
Block a user