added missing files <3
This commit is contained in:
parent
8ae4db0469
commit
58c434af81
@ -37,4 +37,5 @@ require "user.winbar" -- top bar
|
|||||||
require "user.cybu" -- cycle through current buffers
|
require "user.cybu" -- cycle through current buffers
|
||||||
require "user.dap" -- debugging
|
require "user.dap" -- debugging
|
||||||
require "user.lspsaga" -- bit overkill, using for code action menu
|
require "user.lspsaga" -- bit overkill, using for code action menu
|
||||||
|
require "user.neogen"
|
||||||
-- require "user.noice" -- fun with new ui
|
-- require "user.noice" -- fun with new ui
|
||||||
|
|||||||
10
.config/nvim/lua/user/lspsaga.lua
Normal file
10
.config/nvim/lua/user/lspsaga.lua
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
local status_ok, lspsaga = pcall(require, "lspsaga")
|
||||||
|
if not status_ok then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
local icons = require "user.icons"
|
||||||
|
|
||||||
|
lspsaga.init_lsp_saga({
|
||||||
|
code_action_icon = icons.diagnostics.Hint
|
||||||
|
})
|
||||||
10
.config/nvim/lua/user/neogen.lua
Normal file
10
.config/nvim/lua/user/neogen.lua
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
local s_ok, neogen = pcall(require, "neogen")
|
||||||
|
if not s_ok then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
neogen.setup {
|
||||||
|
enabled = true, --if you want to disable Neogen
|
||||||
|
input_after_comment = true, -- (default: true) automatic jump (with insert mode) on inserted annotation
|
||||||
|
-- jump_map = "<C-e>" -- (DROPPED SUPPORT, see [here](#cycle-between-annotations) !) The keymap in order to jump in the annotation fields (in insert mode)
|
||||||
|
}
|
||||||
@ -154,6 +154,7 @@ return packer.startup(function(use)
|
|||||||
})
|
})
|
||||||
use("windwp/nvim-spectre")
|
use("windwp/nvim-spectre")
|
||||||
use("tpope/vim-surround")
|
use("tpope/vim-surround")
|
||||||
|
use("danymat/neogen")
|
||||||
|
|
||||||
-- Keybinding
|
-- Keybinding
|
||||||
use("folke/which-key.nvim")
|
use("folke/which-key.nvim")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user