Add buffer deletion command and update source keymap, configure lsp_lines, null-ls, and trouble plugins
This commit is contained in:
parent
b7294ba9c5
commit
b366efced2
8 changed files with 123 additions and 30 deletions
|
|
@ -1,13 +1,13 @@
|
|||
return {
|
||||
{
|
||||
'akinsho/bufferline.nvim',
|
||||
config = function ()
|
||||
config = function()
|
||||
require("bufferline").setup {
|
||||
options = {
|
||||
indicator = { style = "icon", icon = "▎"},
|
||||
indicator = { style = "icon", icon = "▎" },
|
||||
diagnostics = 'nvim_lsp', -- | "nvim_lsp" | "coc",
|
||||
diagnostics_update_in_insert = false,
|
||||
offsets = { { filetype = "NvimTree", text = "", padding = 1 } },
|
||||
offsets = { { filetype = "NvimTree", text = "File Explorer", padding = 1 } },
|
||||
separator_style = "thin", -- | "thick" | "thin" | { 'any', 'any' },
|
||||
always_show_bufferline = true,
|
||||
}
|
||||
|
|
|
|||
6
lua/custom/plugins/lsp_lines.lua
Normal file
6
lua/custom/plugins/lsp_lines.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
"https://git.sr.ht/~whynothugo/lsp_lines.nvim",
|
||||
config = function()
|
||||
require('lsp_lines').setup()
|
||||
end
|
||||
}
|
||||
12
lua/custom/plugins/null-ls.lua
Normal file
12
lua/custom/plugins/null-ls.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
return {
|
||||
"jose-elias-alvarez/null-ls.nvim",
|
||||
config = function()
|
||||
local null_ls = require("null-ls")
|
||||
null_ls.setup({
|
||||
source = {
|
||||
null_ls.builtins.diagnostics.eslint,
|
||||
null_ls.builtins.completion.spell,
|
||||
}
|
||||
})
|
||||
end
|
||||
}
|
||||
10
lua/custom/plugins/trouble.lua
Executable file
10
lua/custom/plugins/trouble.lua
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
return {
|
||||
"folke/trouble.nvim",
|
||||
dependencies = {
|
||||
"nvim-tree/nvim-web-devicons"
|
||||
},
|
||||
config = function()
|
||||
require("trouble").setup {
|
||||
}
|
||||
end
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue