commit c1853c8350f9397fb7b0559c13c3bfc93bdbcf69
parent 277aa3ca70e3f51923683f602808ad14b532598f
Author: Tomas Nemec <owl@gtms.dev>
Date: Wed, 14 Jun 2023 22:58:21 +0200
update
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/after/plugin/lsp-inlayhints.lua b/after/plugin/lsp-inlayhints.lua
@@ -2,6 +2,10 @@ if not pcall(require, 'lsp-inlayhints') then
return
end
+do
+ return
+end
+
local lspih = require('lsp-inlayhints')
lspih.setup({ inlay_hints = { only_current_line = true } })
diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua
@@ -57,7 +57,6 @@ local function keymap(client, buf)
end
if client.supports_method('textDocument/formatting') then
- -- TODO(tms) 03.10.22: zbavit se Q a pouivat gq
vim.keymap.set('n', 'gQ', function()
vim.lsp.buf.format()
@@ -66,9 +65,6 @@ local function keymap(client, buf)
end
end, { buffer = buf, desc = 'LSP Format' })
end
- -- if client.supports_method('textDocument/rangeFormatting') then
- -- vim.keymap.set('v', 'Q', vim.lsp.buf.format, { buffer = buf, desc = 'LSP Range Format' })
- -- end
end
vim.api.nvim_create_autocmd('LspAttach', {
diff --git a/lua/plugins.lua b/lua/plugins.lua
@@ -43,7 +43,7 @@ return packer.startup({
-- use { 'kevinhwang91/nvim-ufo', requires = { 'kevinhwang91/promise-async' } }
use 'elihunter173/dirbuf.nvim'
use 'norcalli/nvim-terminal.lua'
- use 'j-hui/fidget.nvim'
+ use { 'j-hui/fidget.nvim', tag = 'legacy' }
use 'lervag/vimtex'
-- lua