Autocommit 2023-40-28 03:40:48

This commit is contained in:
2023-12-28 03:40:48 +01:00
parent 3fcfbf1d8d
commit bd5d8ac62f
8 changed files with 42 additions and 55 deletions

View File

@@ -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",

View File

@@ -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
}

View File

@@ -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 = {