This commit is contained in:
Ale 2024-08-18 17:49:32 +02:00
parent 7b736ffacb
commit 26542a0fa5
6 changed files with 90 additions and 71 deletions

View file

@ -1,12 +1,17 @@
return {
'romgrk/barbar.nvim',
dependencies = {
'lewis6991/gitsigns.nvim',
'nvim-tree/nvim-web-devicons'
},
init = function () vim.g.barbar_auto_setup = false end,
opts = {
animation = true,
auto_hide = 0
}
"romgrk/barbar.nvim",
dependencies = {
"lewis6991/gitsigns.nvim",
"nvim-tree/nvim-web-devicons",
},
init = function()
vim.g.barbar_auto_setup = false
end,
opts = {
animation = true,
auto_hide = 1,
sidebar_filetypes = {
["neo-tree"] = { event = "BufWipeout" },
},
},
}

View file

@ -1,9 +1,13 @@
return {
'stevearc/conform.nvim',
opts = {
format_on_save = {
timeout_ms = 500,
lsp_format = "fallback"
}
}
"stevearc/conform.nvim",
opts = {
format_on_save = {
timeout_ms = 500,
lsp_format = "fallback",
},
formatters_by_ft = {
lua = { "stylua" },
rust = { "rustfmt", lsp_format = "fallback" },
},
},
}

View file

@ -1,5 +1,5 @@
return {
"binhtran432k/dracula.nvim",
lazy = false,
opts = {},
"Mofiqul/dracula.nvim",
lazy = false,
opts = {},
}

View file

@ -1,15 +1,22 @@
return {
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function ()
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = { "c", "rust", "lua", "vim", "vimdoc", "markdown" , "javascript", "typescript", "python", "html", "astro", "tsx" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})
end
}
return {
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
local configs = require("nvim-treesitter.configs")
configs.setup({
auto_install = false,
ensure_installed = {
"c", "rust", "lua",
"vim", "vimdoc", "markdown",
"javascript", "typescript", "python",
"html", "astro", "tsx",
"gleam", "bash"
},
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})
end
}
}