Add TODO's for dealing with v0.10.0 features

This commit is contained in:
Kenneth Benzie 2024-04-05 22:41:56 +01:00
parent 53553c02f1
commit 2784989570
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,5 @@
return { return {
-- TODO: v0.10.0 Added built-in |commenting| support.
'terrortylor/nvim-comment', 'terrortylor/nvim-comment',
config = function() config = function()
require('nvim_comment').setup({ require('nvim_comment').setup({

View File

@ -181,6 +181,9 @@ return {
vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, opts) vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, opts)
-- Help mappings -- Help mappings
-- TODO: v0.10.0 |vim.lsp.start()| now maps |K| to use
-- |vim.lsp.buf.hover()| if the server supports it, unless
-- |'keywordprg'| was customized before calling |vim.lsp.start()|.
vim.keymap.set('n', 'K', vim.lsp.buf.hover, opts) vim.keymap.set('n', 'K', vim.lsp.buf.hover, opts)
vim.keymap.set('i', '<C-h>', vim.lsp.buf.signature_help, opts) vim.keymap.set('i', '<C-h>', vim.lsp.buf.signature_help, opts)