chore(astronvim): Updated configurations

- Comment line changes
- Open trouble automagically
- Do not hide gitignored files from tree
- Tweaked nyancat dashboard header
This commit is contained in:
2023-06-08 14:31:16 +03:00
parent 2b06642e4b
commit 8f8851d08f
3 changed files with 29 additions and 23 deletions

View File

@@ -1,5 +1,7 @@
return { -- Add the community repository of plugin specifications
"AstroNvim/astrocommunity", -- example of imporing a plugin, comment out to use it or add your own
return {
-- Add the community repository of plugin specifications
"AstroNvim/astrocommunity",
-- example of imporing a plugin, comment out to use it or add your own.
-- available plugins can be found at
-- https://github.com/AstroNvim/astrocommunity
{
@@ -27,7 +29,7 @@ return { -- Add the community repository of plugin specific
{
"folke/trouble.nvim",
opts = {
auto_open = false,
auto_open = true,
position = "right"
}
},

View File

@@ -5,20 +5,18 @@ return {
opts = function(_, opts)
-- customize the dashboard header
opts.section.header.val = {
"░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
"░░░░░░░░░░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄░░░░░░░░░",
"░░░░░░░░▄▀░░░░░░░░░░░░▄░░░░░░░▀▄░░░░░░░",
"░░░░░░░░█░░░░░░▄░░░░░░░░░░░░░█░░░░░░░",
"░░░░░░░░█░░░░░░░░░░░░▄█▄▄░░▄░░░█░▄▄▄░░░",
"░▄▄▄▄▄░░█░░░░░░░░░░▀█░░▀▄░░░░░█▀▀░██░░",
"██▄▀██▄█░░░░░░░░░██░░░░▀▀▀▀▀░░░░██░░",
"░░▀██▄▀██░░░░░░░░▀░██░░░░░░░░░░░░░▀██",
"░░░░▀████░▀░░░░▄░░░██░░░▄█░░░░▄░▄░░██",
"░░░░░░░▀█░░░░▄░░░░░██░░░░▄░░░▄░░▄░░░██░",
"░░░░░░░▄█▄░░░░░░░░░░░▀▄░░▀▀▀▀▀▀▀▀░░▄▀░░",
"░░░░░░█▀▀█████████▀▀▀▀████████████▀░░░░",
"░░░░░░████▀░░███▀░░░░░░▀███░░▀██▀░░░░░░",
"░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░"
" ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ",
" ▄▀░░░░░░░░░░░░░░░░░░░▀▄ ",
" █░░▄░░░░▄░░░░░░░░░░░░░░",
" █░░░░░░░░░░░░▄█▄▄░░░░░█ ▄▄▄ ",
"▄▄▄▄▄ █░░░░░░░░░░▀█░░▄░░░░░█▀▀░██ ",
"██▄▀██▄█░░░░░░░░░░██░░░░▀▀▀▀▀░░░░██ ",
"██▄▀██░░░░░░░░░██░░░░░░░░░░░░░██",
" ▀████░░░░░░░░██░░░▄█░░░░▄░▄█░░██",
" ▀█░░░░▄░░░░░██░░░░░░░▄░░░██",
" ▄█▄░░░░░░░░░░░▀▄░░▀▀▀▀▀▀▀▀░░▄▀ ",
" █▀▀█████████▀▀▀▀████████████▀ ",
" ████▀ ███▀ ▀███ ▀██▀ ",
}
return opts
end,
@@ -47,7 +45,7 @@ return {
visible = false,
show_hidden_count = true,
hide_dotfiles = false,
hide_gitignored = true,
hide_gitignored = false,
hide_by_name = {
},
never_show = {
@@ -99,9 +97,12 @@ return {
require "plugins.configs.which-key" (plugin, opts)
-- Add bindings which show up as group name
local wk = require "which-key"
wk.register({
b = { name = "Buffer" },
}, { mode = "n", prefix = "<leader>" })
wk.register(
{
b = { name = "Buffer" },
},
{ mode = "n", prefix = "<leader>" }
)
end,
},
}

View File

@@ -1,5 +1,6 @@
-- customize mason plugins
return { -- use mason-lspconfig to configure LSP installations
return {
-- use mason-lspconfig to configure LSP installations
{
"williamboman/mason-lspconfig.nvim",
-- overrides `require("mason-lspconfig").setup(...)`
@@ -8,7 +9,9 @@ return { -- use mason-lspconfig to configure LSP installations
"diagnosticls",
},
},
}, -- use mason-null-ls to configure Formatters/Linter installation for null-ls sources
},
-- use mason-null-ls to configure Formatters/Linter
-- installation for null-ls sources
{
"jay-babu/mason-null-ls.nvim",
-- overrides `require("mason-null-ls").setup(...)`