update
This commit is contained in:
parent
373f67612a
commit
94b3855850
@ -137,29 +137,15 @@ return {
|
|||||||
{
|
{
|
||||||
'hrsh7th/vim-vsnip',
|
'hrsh7th/vim-vsnip',
|
||||||
config = function()
|
config = function()
|
||||||
-- vim.cmd[[
|
G.g.vsnip_snippet_dirs = {
|
||||||
-- let g:vsnip_snippet_dir = expand('~/.config/nvim/snippets')
|
G.fn.stdpath("config") .. "/snippets"
|
||||||
-- ]]
|
}
|
||||||
G.g.vsnip_snippet_dir = G.fn.stdpath("config") .. "/snippets"
|
|
||||||
-- G.g.vsnip_filetypes = {
|
|
||||||
-- "code-snippets"
|
|
||||||
-- }
|
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
'hrsh7th/cmp-vsnip',
|
'hrsh7th/cmp-vsnip',
|
||||||
'onsails/lspkind-nvim',
|
'onsails/lspkind-nvim',
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
-- vim.cmd[[
|
|
||||||
-- let g:vsnip_snippet_dir = expand('~/.vsnip')
|
|
||||||
-- Specify user snippet directory.
|
|
||||||
-- Also as buffer-local variable: `b:vsnip_snippet_dir`
|
|
||||||
|
|
||||||
-- let g:vsnip_snippet_dirs = []
|
|
||||||
|
|
||||||
-- ]]
|
|
||||||
|
|
||||||
|
|
||||||
local has_words_before = function()
|
local has_words_before = function()
|
||||||
unpack = unpack or table.unpack
|
unpack = unpack or table.unpack
|
||||||
local line, col = unpack(G.api.nvim_win_get_cursor(0))
|
local line, col = unpack(G.api.nvim_win_get_cursor(0))
|
||||||
|
Loading…
Reference in New Issue
Block a user