Skip to content

Commit

Permalink
config(nvim): disable nvim_cmp snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
haunt98 committed Jun 25, 2024
1 parent 020d40a commit cad4d80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,11 @@ require("lazy").setup({
},
config = function()
local lspconfig = require("lspconfig")

-- https://github.com/hrsh7th/cmp-nvim-lsp
-- https://github.com/hrsh7th/nvim-cmp/discussions/759
local capabilities = require("cmp_nvim_lsp").default_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = false

-- Go
-- https://github.com/golang/tools/blob/master/gopls/doc/vim.md
Expand Down

0 comments on commit cad4d80

Please sign in to comment.