mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 23:47:23 +00:00
nvim: migrate to 0.10
This commit is contained in:
parent
b54496d6ad
commit
a195719254
2 changed files with 3 additions and 2 deletions
|
|
@ -247,6 +247,7 @@ require('lazy').setup({
|
|||
},
|
||||
--[[ cfg_lazy_desolate: Not-so-colorful colorscheme ]]
|
||||
{
|
||||
-- dir = '~/trash/desolate.nvim',
|
||||
'He4eT/desolate.nvim',
|
||||
priority = 1000,
|
||||
init = function()
|
||||
|
|
@ -424,7 +425,7 @@ require('lazy').setup({
|
|||
-- 'Go to definition' workaround
|
||||
-- https://github.com/holoiii/nvim/commit/73a4db74fe463f5064346ba63870557fedd134ad
|
||||
['textDocument/definition'] = function(err, result, ...)
|
||||
result = vim.tbl_islist(result) and result[1] or result
|
||||
result = vim.islist(result) and result[1] or result
|
||||
vim.lsp.handlers['textDocument/definition'](err, result, ...)
|
||||
end,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue