feat: switch php lsp and do use sorting
This commit is contained in:
@@ -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.list = true -- Show helpful text indicators
|
||||||
vim.o.number = true -- Show line numbers
|
vim.o.number = true -- Show line numbers
|
||||||
vim.o.pumheight = 10 -- Make popup menu smaller
|
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.shortmess = 'CFOSWacou' -- Disable some built-in completion messages
|
||||||
vim.o.signcolumn = 'yes' -- Always show signcolumn (less flicker)
|
vim.o.signcolumn = 'yes' -- Always show signcolumn (less flicker)
|
||||||
vim.o.splitbelow = true -- Horizontal splits will be below
|
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.tabstop = 2 -- Show tab as this number of spaces
|
||||||
vim.o.virtualedit = 'block' -- Allow going past end of line in blockwise mode
|
vim.o.virtualedit = 'block' -- Allow going past end of line in blockwise mode
|
||||||
|
|
||||||
vim.o.complete = '.,w,b,kspell' -- Use less sources
|
vim.o.complete = '.,w,b,kspell' -- Use less sources
|
||||||
vim.o.completeopt = 'menuone,noselect,fuzzy,nosort' -- Use custom behavior
|
vim.o.completeopt = 'menuone,noselect,fuzzy' -- Use custom behavior
|
||||||
vim.o.completetimeout = 100 -- Limit sources delay
|
vim.o.completetimeout = 100 -- Limit sources delay
|
||||||
|
|
||||||
-- Autocommands
|
-- Autocommands
|
||||||
Config.autocmd('TextYankPost', '*', function() vim.hl.hl_op() end, 'Highlight yanked text')
|
Config.autocmd('TextYankPost', '*', function() vim.hl.hl_op() end, 'Highlight yanked text')
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ end)
|
|||||||
-- LSP
|
-- LSP
|
||||||
Config.now_if_args(function()
|
Config.now_if_args(function()
|
||||||
vim.pack.add({ 'https://github.com/neovim/nvim-lspconfig' })
|
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)
|
end)
|
||||||
|
|
||||||
-- Formatting
|
-- Formatting
|
||||||
|
|||||||
Reference in New Issue
Block a user