From 9af07644cdf266410b01591212ea14f144739ef3 Mon Sep 17 00:00:00 2001 From: Job Jobse Date: Sun, 6 Sep 2026 21:14:04 +0200 Subject: [PATCH] feat: switch php lsp and do use sorting --- plugin/10_options.lua | 8 ++++---- plugin/40_plugins.lua | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugin/10_options.lua b/plugin/10_options.lua index 835458e..e411862 100644 --- a/plugin/10_options.lua +++ b/plugin/10_options.lua @@ -11,7 +11,7 @@ vim.o.linebreak = true -- Wrap lines at 'breakat' (if 'wrap' is set) vim.o.list = true -- Show helpful text indicators vim.o.number = true -- Show line numbers vim.o.pumheight = 10 -- Make popup menu smaller -vim.o.pummaxwidth = 60 -- Make popup menu not too wide +vim.o.pummaxwidth = 80 -- Make popup menu not too wide vim.o.shortmess = 'CFOSWacou' -- Disable some built-in completion messages vim.o.signcolumn = 'yes' -- Always show signcolumn (less flicker) vim.o.splitbelow = true -- Horizontal splits will be below @@ -37,9 +37,9 @@ vim.o.spelloptions = 'camel' -- Treat camelCase word parts as separate words vim.o.tabstop = 2 -- Show tab as this number of spaces vim.o.virtualedit = 'block' -- Allow going past end of line in blockwise mode -vim.o.complete = '.,w,b,kspell' -- Use less sources -vim.o.completeopt = 'menuone,noselect,fuzzy,nosort' -- Use custom behavior -vim.o.completetimeout = 100 -- Limit sources delay +vim.o.complete = '.,w,b,kspell' -- Use less sources +vim.o.completeopt = 'menuone,noselect,fuzzy' -- Use custom behavior +vim.o.completetimeout = 100 -- Limit sources delay -- Autocommands Config.autocmd('TextYankPost', '*', function() vim.hl.hl_op() end, 'Highlight yanked text') diff --git a/plugin/40_plugins.lua b/plugin/40_plugins.lua index 8276f38..205a0ca 100644 --- a/plugin/40_plugins.lua +++ b/plugin/40_plugins.lua @@ -33,7 +33,7 @@ end) -- LSP Config.now_if_args(function() vim.pack.add({ 'https://github.com/neovim/nvim-lspconfig' }) - vim.lsp.enable({ 'ansiblels', 'gopls', 'intelephense', 'svelte', 'tailwindcss', 'tsc' }) + vim.lsp.enable({ 'ansiblels', 'gopls', 'phpantom_lsp', 'svelte', 'tailwindcss', 'tsc' }) end) -- Formatting