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