mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-31 00:17:46 +02:00
nvim: changed not needed coc reference for lsp one
This commit is contained in:
parent
075bf61358
commit
0b85b42d15
@ -76,12 +76,12 @@ vim.g.markdown_folding = 1
|
|||||||
-- load general mapped keys
|
-- load general mapped keys
|
||||||
require('style')
|
require('style')
|
||||||
|
|
||||||
-- set filetypes correctly by extension
|
|
||||||
require('autocmd')
|
|
||||||
|
|
||||||
-- load plugins (autoload all files in plugin folder)
|
-- load plugins (autoload all files in plugin folder)
|
||||||
require('loadplugins')
|
require('loadplugins')
|
||||||
|
|
||||||
|
-- set filetypes correctly by extension
|
||||||
|
require('autocmd')
|
||||||
|
|
||||||
-- load general mapped keys
|
-- load general mapped keys
|
||||||
require('keymap')
|
require('keymap')
|
||||||
|
|
||||||
|
@ -96,8 +96,6 @@ vim.keymap.set('n', 'Zt', '<NOP>', { noremap = true })
|
|||||||
vim.keymap.set('n', 'K', function()
|
vim.keymap.set('n', 'K', function()
|
||||||
local winid = require('ufo').peekFoldedLinesUnderCursor()
|
local winid = require('ufo').peekFoldedLinesUnderCursor()
|
||||||
if not winid then
|
if not winid then
|
||||||
-- choose one of coc.nvim and nvim lsp
|
|
||||||
vim.fn.CocActionAsync('definitionHover') -- coc.nvim
|
|
||||||
vim.lsp.buf.hover()
|
vim.lsp.buf.hover()
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
@ -373,6 +373,7 @@ return require("lazy").setup({
|
|||||||
"css",
|
"css",
|
||||||
"html",
|
"html",
|
||||||
"markdown",
|
"markdown",
|
||||||
|
"markdown_inline",
|
||||||
"latex",
|
"latex",
|
||||||
"python",
|
"python",
|
||||||
"lua",
|
"lua",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user