diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-06-21 12:02:07 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2023-06-21 12:02:07 +0200 |
| commit | 2f20c8b58b8d0d6ce93cbf3e8f2d942f8fdf76b9 (patch) | |
| tree | d63d98b06698d4778ac6382fbf77e78a95ff2cf3 /lua | |
| parent | 10f73a6481c890d556c3f5d7a15081a950d2a653 (diff) | |
| download | nvim-conf-2f20c8b58b8d0d6ce93cbf3e8f2d942f8fdf76b9.tar.gz nvim-conf-2f20c8b58b8d0d6ce93cbf3e8f2d942f8fdf76b9.zip | |
support new inlay hint
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/alpha/lsp/attach.lua | 2 | ||||
| -rw-r--r-- | lua/plugins/lsp.lua | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lua/alpha/lsp/attach.lua b/lua/alpha/lsp/attach.lua index 45ce904..7fc7643 100644 --- a/lua/alpha/lsp/attach.lua +++ b/lua/alpha/lsp/attach.lua @@ -29,6 +29,8 @@ return function(client, bufnr) vim.bo.omnifunc = "v:lua.vim.lsp.omnifunc" + vim.lsp.buf.inlay_hint(bufnr) + -- Attach any filetype specific options to the client filetype_attach[filetype](client, bufnr) end diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index d84f15c..0458b7f 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -19,6 +19,7 @@ return { "WhoIsSethDaniel/mason-tool-installer.nvim", { "lvimuser/lsp-inlayhints.nvim", + enabled = false, config = function() require("lsp-inlayhints").setup() vim.api.nvim_create_augroup("LspAttach_inlayhints", {}) |