Skip to content

Commit

Permalink
refactor: nvim-cmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rizkyilhampra committed Jan 26, 2024
1 parent b50e9d2 commit ffbfe1b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lua/aquila/plugins/nvim-cmp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,6 @@ return {
winhighlight = "Normal:Pmenu,FloatBorder:FloatBorder,CursorLine:Visual,Search:None",
},
},
enabled = function()
if require "cmp.config.context".in_treesitter_capture("comment") == true or require "cmp.config.context".in_syntax_group("Comment") then
return false
else
return true
end
end,
mapping = cmp.mapping.preset.insert({
["<C-b>"] = cmp.mapping.scroll_docs(-4),
["<C-f>"] = cmp.mapping.scroll_docs(4),
Expand Down

0 comments on commit ffbfe1b

Please sign in to comment.