nvim: plugins: Drop inlayhints
Drop lsp-inlayhints now that upstream merged support for inlay hints. https://github.com/neovim/neovim/pull/23984 https://github.com/neovim/neovim/pull/24071
This commit is contained in:
parent
d3775127f8
commit
8f05d13b11
2 changed files with 0 additions and 11 deletions
|
@ -1,13 +1,5 @@
|
||||||
local protocol = require 'vim.lsp.protocol'
|
local protocol = require 'vim.lsp.protocol'
|
||||||
local lightbulb = require 'nvim-lightbulb'
|
local lightbulb = require 'nvim-lightbulb'
|
||||||
local inlay_hint = require 'lsp-inlayhints'
|
|
||||||
|
|
||||||
-- Set up inlay hints
|
|
||||||
inlay_hint.setup({
|
|
||||||
inlay_hints = {
|
|
||||||
highlight = "Hint"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
vim.lsp.set_log_level("off")
|
vim.lsp.set_log_level("off")
|
||||||
|
|
||||||
|
@ -200,8 +192,6 @@ local on_attach = function(client, bufnr)
|
||||||
callback = vim.lsp.buf.clear_references,
|
callback = vim.lsp.buf.clear_references,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
inlay_hint.on_attach(client, bufnr)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("LspAttach", {
|
vim.api.nvim_create_autocmd("LspAttach", {
|
||||||
|
|
|
@ -20,7 +20,6 @@ require "paq" {
|
||||||
'nvim-lua/plenary.nvim' ,
|
'nvim-lua/plenary.nvim' ,
|
||||||
'kosayoda/nvim-lightbulb' ,
|
'kosayoda/nvim-lightbulb' ,
|
||||||
'mfussenegger/nvim-lint' ,
|
'mfussenegger/nvim-lint' ,
|
||||||
'lvimuser/lsp-inlayhints.nvim' ,
|
|
||||||
'nvim-treesitter/nvim-treesitter' ,
|
'nvim-treesitter/nvim-treesitter' ,
|
||||||
'mfussenegger/nvim-treehopper' ,
|
'mfussenegger/nvim-treehopper' ,
|
||||||
'chentoast/marks.nvim' ,
|
'chentoast/marks.nvim' ,
|
||||||
|
|
Loading…
Reference in a new issue