You've already forked dotfiles
fix: Several small updates.
- Removing the load_lauunchjs call for dap as it's no longer needed. - Cleanup of lspconfig of several lines that appear to not do anything in testing, and updating keymap order. - Removing the luasnip setup section as it appears to not be required in testing. - Update to nvim-cmp for luasnip relative loading and removing the buffer from command mode completion - Twilight update to narrow the focus but also expand out if statements. - ZSH re-enabling keychain despite it being slow as replacement with gpg-agent will take a focused session to do across environments
This commit is contained in:
@@ -1,21 +1,6 @@
|
||||
return {
|
||||
'L3MON4D3/LuaSnip',
|
||||
config = function()
|
||||
local ls = require('luasnip')
|
||||
local extras = require('luasnip.extras')
|
||||
local l = extras.lambda
|
||||
ls.setup({
|
||||
snip_env = {
|
||||
s = function(...)
|
||||
local snip = ls.s(...)
|
||||
table.insert(getfenv(2).ls_file_snippets, snip)
|
||||
end,
|
||||
parse = function(...)
|
||||
local snip = ls.parser.parse_snippet(...)
|
||||
table.insert(getfenv(2).ls_file_snippets, snip)
|
||||
end,
|
||||
},
|
||||
})
|
||||
require('luasnip.loaders.from_vscode').lazy_load()
|
||||
require('luasnip.loaders.from_lua').lazy_load({ paths = "./snippets" })
|
||||
end,
|
||||
@@ -23,4 +8,5 @@ return {
|
||||
'saadparwaiz1/cmp_luasnip', -- Wrapper to load snippets in nvim-cmp
|
||||
'rafamadriz/friendly-snippets',
|
||||
},
|
||||
build = "make install_jsregexp"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user