Skip to content

Commit

Permalink
localsdk and switch to magazine cmp
Browse files Browse the repository at this point in the history
  • Loading branch information
dotrakoun-clearstreet committed Oct 24, 2024
1 parent 5df2927 commit e2ef3dc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
5 changes: 4 additions & 1 deletion nvim/coc-settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,8 @@
"typescript.preferGoToSourceDefinition": true,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": true,
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": true,
"tsserver.disableAutomaticTypeAcquisition": true
"tsserver.disableAutomaticTypeAcquisition": true,

// coc-tsserver still uses old version of typescript, so use local one instead
"tsserver.useLocalTsdk": true
}
10 changes: 7 additions & 3 deletions nvim/lua/dko/plugins/completion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,13 @@ local nhc_ok, nhc
local cmp_dependencies = {
{ "dcampos/cmp-snippy", dependencies = { "dcampos/nvim-snippy" } },

"hrsh7th/cmp-buffer",
"hrsh7th/cmp-cmdline",
"hrsh7th/cmp-nvim-lsp",
-- "hrsh7th/cmp-nvim-lsp",
{ "iguanacucumber/mag-nvim-lsp", name = "cmp-nvim-lsp", opts = {} },
-- { "iguanacucumber/mag-nvim-lua", name = "cmp-nvim-lua" },
-- "hrsh7th/cmp-buffer",
{ "iguanacucumber/mag-buffer", name = "cmp-buffer" },
-- "hrsh7th/cmp-cmdline",
{ "iguanacucumber/mag-cmdline", name = "cmp-cmdline" },
"hrsh7th/cmp-nvim-lsp-signature-help",
"hrsh7th/cmp-path",

Expand Down

0 comments on commit e2ef3dc

Please sign in to comment.