Add moar plugins

This commit is contained in:
Levente Krizsán 2024-08-31 22:34:55 +02:00
parent 30b6d487e1
commit 064e8ad1b4
6 changed files with 56 additions and 17 deletions

View file

@ -0,0 +1,13 @@
-- https://github.com/romgrk/barbar.nvim
return {
'romgrk/barbar.nvim',
enabled = false,
dependencies = {
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
},
init = function()
vim.g.barbar_auto_setup = false
end,
opts = {},
}

View file

@ -0,0 +1,6 @@
-- https://github.com/akinsho/bufferline.nvim
return {
'akinsho/bufferline.nvim',
enabled = true,
opts = {},
}

View file

@ -1,6 +1,14 @@
-- https://github.com/folke/ts-comments.nvim
return {
'folke/ts-comments.nvim',
opts = {},
event = 'VeryLazy',
-- https://github.com/folke/ts-comments.nvim
{
'folke/ts-comments.nvim',
opts = {},
event = 'VeryLazy',
},
-- https://github.com/JoosepAlviste/nvim-ts-context-commentstring
{
'JoosepAlviste/nvim-ts-context-commentstring',
opts = {},
event = 'VeryLazy',
},
}

View file

@ -7,6 +7,11 @@ return {
local lint = require 'lint'
lint.linters_by_ft = {
markdown = { 'markdownlint' },
javascript = { 'eslint' },
typescript = { 'eslint' },
javascriptreact = { 'eslint' },
typescriptreact = { 'eslint' },
rust = { 'clippy' },
}
-- To allow other plugins to add linters to require('lint').linters_by_ft,