lsp change to coq
This commit is contained in:
+23
-38
@@ -3,42 +3,29 @@ local plugins = {
|
||||
-- {{{ basic lsp stuff
|
||||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
event = "VeryLazy",
|
||||
dependencies = {
|
||||
{
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
"hrsh7th/cmp-buffer",
|
||||
"hrsh7th/cmp-path",
|
||||
"hrsh7th/cmp-cmdline",
|
||||
},
|
||||
},
|
||||
event = "VeryLazy",
|
||||
},
|
||||
{
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
event = "VeryLazy",
|
||||
event = "VeryLazy",
|
||||
dependencies = {
|
||||
"williamboman/mason.nvim"
|
||||
}
|
||||
|
||||
},-- }}}
|
||||
|
||||
-- {{{ snipplets
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
event = "InsertEnter",
|
||||
dependencies = {
|
||||
}
|
||||
},
|
||||
{
|
||||
"L3MON4D3/LuaSnip",
|
||||
{
|
||||
'ms-jpq/coq_nvim',
|
||||
branch = 'coq',
|
||||
event = "InsertEnter",
|
||||
init = function() vim.g.coq_settings = { auto_start = true, ["keymap.jump_to_mark"] = "<C-s>" } end,
|
||||
dependencies = {
|
||||
"rafamadriz/friendly-snippets",
|
||||
{ "ms-jpq/coq.artifacts",
|
||||
branch = "artifacts",
|
||||
event = "InsertEnter", },
|
||||
{ "neovim/nvim-lspconfig" },
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("luasnip.loaders.from_vscode").lazy_load()
|
||||
end,
|
||||
}, -- }}}
|
||||
},
|
||||
-- }}}
|
||||
-- }}}
|
||||
|
||||
-- {{{ editor
|
||||
@@ -54,19 +41,17 @@ local plugins = {
|
||||
}, -- }}}
|
||||
|
||||
-- {{{ auto closes ()
|
||||
{
|
||||
"windwp/nvim-autopairs",
|
||||
event = "InsertEnter",
|
||||
opts = {
|
||||
fast_wrap = {},
|
||||
disable_filetype = { "TelescopePrompt", "vim" },
|
||||
},
|
||||
config = function(_, opts)
|
||||
require("nvim-autopairs").setup(opts)
|
||||
local cmp_autopairs = require "nvim-autopairs.completion.cmp"
|
||||
require("cmp").event:on("confirm_done", cmp_autopairs.on_confirm_done())
|
||||
end,
|
||||
}, -- }}}
|
||||
-- {
|
||||
-- "windwp/nvim-autopairs",
|
||||
-- event = "InsertEnter",
|
||||
-- opts = {
|
||||
-- fast_wrap = {},
|
||||
-- disable_filetype = { "TelescopePrompt", "vim" },
|
||||
-- },
|
||||
-- config = function(_, opts)
|
||||
-- require("nvim-autopairs").setup(opts)
|
||||
-- end,
|
||||
-- }, -- }}}
|
||||
-- }}}
|
||||
|
||||
-- {{{ ui
|
||||
|
||||
Reference in New Issue
Block a user