Autocommit 2023-40-28 03:40:48
This commit is contained in:
@@ -1,26 +1,3 @@
|
||||
local function config()
|
||||
--- Ensure plugin is avaiable
|
||||
local bufferline = require("bufferline");
|
||||
|
||||
--- Plugin options
|
||||
opts = {
|
||||
options = {
|
||||
-- mode = "tabs",
|
||||
separator_style = "slant",
|
||||
},
|
||||
}
|
||||
|
||||
--- Load plugin
|
||||
bufferline.setup(opts)
|
||||
|
||||
--- Override keymaps
|
||||
local km = vim.keymap.set
|
||||
km("n", "<Tab>", ":BufferLineCycleNext<cr>")
|
||||
km("n", "<S-Tab>", ":BufferLineCyclePrev<cr>")
|
||||
km("n", "<leader>bn", ":BufferLineMoveNext<cr>")
|
||||
km("n", "<leader>bp", ":BufferLineMovePrev<cr>")
|
||||
km("n", "<leader>bc", ":BufferLinePickClose<cr>")
|
||||
end
|
||||
|
||||
return {
|
||||
"akinsho/bufferline.nvim",
|
||||
|
||||
@@ -1,13 +1,4 @@
|
||||
local function config()
|
||||
--- Ensure plugin is avaiable
|
||||
local comment = require('Comment')
|
||||
|
||||
--- Load plugin
|
||||
comment.setup()
|
||||
end
|
||||
|
||||
return {
|
||||
"numToStr/Comment.nvim",
|
||||
event = { "BufReadPre", "BufNewFile" },
|
||||
config = config
|
||||
}
|
||||
|
||||
@@ -10,28 +10,7 @@ local function config()
|
||||
autotag = {
|
||||
enable = true,
|
||||
},
|
||||
ensure_installed = {
|
||||
"json",
|
||||
"javascript",
|
||||
"typescript",
|
||||
"tsx",
|
||||
"yaml",
|
||||
"html",
|
||||
"css",
|
||||
"prisma",
|
||||
"markdown",
|
||||
"markdown_inline",
|
||||
"svelte",
|
||||
"graphql",
|
||||
"bash",
|
||||
"lua",
|
||||
"vim",
|
||||
"dockerfile",
|
||||
"gitignore",
|
||||
"query",
|
||||
"rst",
|
||||
"php",
|
||||
},
|
||||
auto_install = true,
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
|
||||
Reference in New Issue
Block a user