mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-23 09:18:44 +02:00
add: config global variable
This commit is contained in:
parent
77436b89c4
commit
a7726a6b33
30 changed files with 703 additions and 857 deletions
|
@ -5,13 +5,8 @@ if not status_cmp_ok then
|
|||
return
|
||||
end
|
||||
|
||||
local lspvitualtext = false
|
||||
local data_exists, lspconfig = pcall(require, "core.config")
|
||||
if data_exists then
|
||||
lspvitualtext = lspconfig.lsp_virtualtext
|
||||
end
|
||||
|
||||
local icons = require("user.icons")
|
||||
local lspvitualtext = vim.g.pcode_lsp_virtualtext
|
||||
local icons = vim.g.pcode_icons
|
||||
|
||||
M.capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
M.capabilities.textDocument.completion.completionItem.snippetSupport = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue