Skip to content

Commit

Permalink
fix: invalid insertTextMode capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Saghen committed Oct 25, 2024
1 parent 2ddd697 commit 4de7b7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/blink/cmp/sources/lib/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function sources.get_lsp_capabilities(override, include_nvim_defaults)
},
insertTextModeSupport = {
-- todo: support adjustIndentation
valueSet = { 'asIs' },
valueSet = { 1 }, -- asIs
},
labelDetailsSupport = true,
},
Expand All @@ -260,7 +260,7 @@ function sources.get_lsp_capabilities(override, include_nvim_defaults)
},

contextSupport = true,
insertTextMode = 'asIs',
insertTextMode = 1, -- asIs
},
},
}, override or {})
Expand Down

0 comments on commit 4de7b7e

Please sign in to comment.