Skip to content

Commit

Permalink
use signature help fork until merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed Aug 13, 2024
1 parent b3e91eb commit cd08157
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions lua/misc/handlers.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
-- Custom handlers for LSP actions
-- using telescope.nvim
-- TODO: Some of theses don't work reliably
-- so they are not used, yet.
local pickers = require "telescope.pickers"
local conf = require("telescope.config").values
local finders = require "telescope.finders"
Expand Down
6 changes: 2 additions & 4 deletions lua/plugins/completion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ return {
event = 'InsertEnter',
dependencies = {
'hrsh7th/cmp-nvim-lsp',
'hrsh7th/cmp-nvim-lsp-signature-help',
-- TODO: wait for PR merge to revert back to hrsh7th upstream
'jmbuhr/cmp-nvim-lsp-signature-help',
'hrsh7th/cmp-buffer',
'hrsh7th/cmp-path',
'hrsh7th/cmp-calc',
Expand All @@ -25,7 +26,6 @@ return {
'L3MON4D3/LuaSnip',
'rafamadriz/friendly-snippets',
'onsails/lspkind-nvim',
'jmbuhr/otter.nvim',
},
config = function()
local cmp = require 'cmp'
Expand Down Expand Up @@ -104,7 +104,6 @@ return {
format = lspkind.cmp_format {
mode = 'symbol',
menu = {
otter = '[🦦]',
nvim_lsp = '[LSP]',
nvim_lsp_signature_help = '[sig]',
luasnip = '[snip]',
Expand All @@ -121,7 +120,6 @@ return {
},
},
sources = {
-- { name = 'otter' }, -- for code chunks in quarto
{ name = 'path' },
{ name = 'nvim_lsp_signature_help' },
{ name = 'nvim_lsp' },
Expand Down
2 changes: 1 addition & 1 deletion lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ return {

-- for lsp features in code cells / embedded code
'jmbuhr/otter.nvim',
dev = false,
dev = true,
dependencies = {
{
'neovim/nvim-lspconfig',
Expand Down

0 comments on commit cd08157

Please sign in to comment.