mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
Update nvim config
This commit is contained in:
parent
3644271f7d
commit
e995f07fef
11 changed files with 114 additions and 35 deletions
|
|
@ -9,11 +9,11 @@ return {
|
|||
-- Setup Mason to automatically install LSP servers
|
||||
require('mason').setup()
|
||||
require('mason-lspconfig').setup({ automatic_installation = true })
|
||||
|
||||
local lspconfig = require('lspconfig')
|
||||
-- local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities())
|
||||
|
||||
-- PHP
|
||||
require('lspconfig').intelephense.setup({
|
||||
lspconfig.intelephense.setup({
|
||||
commands = {
|
||||
IntelephenseIndex = {
|
||||
function() vim.lsp.buf.execute_command({ command = 'intelephense.index.workspace' }) end,
|
||||
|
|
@ -26,6 +26,8 @@ return {
|
|||
-- capabilities = capabilities
|
||||
})
|
||||
|
||||
-- GO
|
||||
lspconfig.gopls.setup({})
|
||||
-- Tailwind CSS
|
||||
--require('lspconfig').tailwindcss.setup({ capabilities = capabilities })
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue