mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-03 13:59:48 +00:00
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:
@@ -1,5 +1,7 @@
|
|||||||
return { -- Add the community repository of plugin specifications
|
return {
|
||||||
"AstroNvim/astrocommunity", -- example of imporing a plugin, comment out to use it or add your own
|
-- 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
|
-- available plugins can be found at
|
||||||
-- https://github.com/AstroNvim/astrocommunity
|
-- https://github.com/AstroNvim/astrocommunity
|
||||||
{
|
{
|
||||||
@@ -27,7 +29,7 @@ return { -- Add the community repository of plugin specific
|
|||||||
{
|
{
|
||||||
"folke/trouble.nvim",
|
"folke/trouble.nvim",
|
||||||
opts = {
|
opts = {
|
||||||
auto_open = false,
|
auto_open = true,
|
||||||
position = "right"
|
position = "right"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -5,20 +5,18 @@ return {
|
|||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
-- customize the dashboard header
|
-- customize the dashboard header
|
||||||
opts.section.header.val = {
|
opts.section.header.val = {
|
||||||
"░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
|
" ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ",
|
||||||
"░░░░░░░░░░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄░░░░░░░░░",
|
" ▄▀░░░░░░░░░░░░▄░░░░░░░▀▄ ",
|
||||||
"░░░░░░░░▄▀░░░░░░░░░░░░▄░░░░░░░▀▄░░░░░░░",
|
" █░░▄░░░░▄░░░░░░░░░░░░░░█ ",
|
||||||
"░░░░░░░░█░░▄░░░░▄░░░░░░░░░░░░░░█░░░░░░░",
|
" █░░░░░░░░░░░░▄█▄▄░░▄░░░█ ▄▄▄ ",
|
||||||
"░░░░░░░░█░░░░░░░░░░░░▄█▄▄░░▄░░░█░▄▄▄░░░",
|
"▄▄▄▄▄ █░░░░░░▀░░░░▀█░░▀▄░░░░░█▀▀░██ ",
|
||||||
"░▄▄▄▄▄░░█░░░░░░▀░░░░▀█░░▀▄░░░░░█▀▀░██░░",
|
"██▄▀██▄█░░░▄░░░░░░░██░░░░▀▀▀▀▀░░░░██ ",
|
||||||
"░██▄▀██▄█░░░▄░░░░░░░██░░░░▀▀▀▀▀░░░░██░░",
|
" ▀██▄▀██░░░░░░░░▀░██▀░░░░░░░░░░░░░▀██",
|
||||||
"░░▀██▄▀██░░░░░░░░▀░██▀░░░░░░░░░░░░░▀██░",
|
" ▀████░▀░░░░▄░░░██░░░▄█░░░░▄░▄█░░██",
|
||||||
"░░░░▀████░▀░░░░▄░░░██░░░▄█░░░░▄░▄█░░██░",
|
" ▀█░░░░▄░░░░░██░░░░▄░░░▄░░▄░░░██",
|
||||||
"░░░░░░░▀█░░░░▄░░░░░██░░░░▄░░░▄░░▄░░░██░",
|
" ▄█▄░░░░░░░░░░░▀▄░░▀▀▀▀▀▀▀▀░░▄▀ ",
|
||||||
"░░░░░░░▄█▄░░░░░░░░░░░▀▄░░▀▀▀▀▀▀▀▀░░▄▀░░",
|
" █▀▀█████████▀▀▀▀████████████▀ ",
|
||||||
"░░░░░░█▀▀█████████▀▀▀▀████████████▀░░░░",
|
" ████▀ ███▀ ▀███ ▀██▀ ",
|
||||||
"░░░░░░████▀░░███▀░░░░░░▀███░░▀██▀░░░░░░",
|
|
||||||
"░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░"
|
|
||||||
}
|
}
|
||||||
return opts
|
return opts
|
||||||
end,
|
end,
|
||||||
@@ -47,7 +45,7 @@ return {
|
|||||||
visible = false,
|
visible = false,
|
||||||
show_hidden_count = true,
|
show_hidden_count = true,
|
||||||
hide_dotfiles = false,
|
hide_dotfiles = false,
|
||||||
hide_gitignored = true,
|
hide_gitignored = false,
|
||||||
hide_by_name = {
|
hide_by_name = {
|
||||||
},
|
},
|
||||||
never_show = {
|
never_show = {
|
||||||
@@ -99,9 +97,12 @@ return {
|
|||||||
require "plugins.configs.which-key" (plugin, opts)
|
require "plugins.configs.which-key" (plugin, opts)
|
||||||
-- Add bindings which show up as group name
|
-- Add bindings which show up as group name
|
||||||
local wk = require "which-key"
|
local wk = require "which-key"
|
||||||
wk.register({
|
wk.register(
|
||||||
b = { name = "Buffer" },
|
{
|
||||||
}, { mode = "n", prefix = "<leader>" })
|
b = { name = "Buffer" },
|
||||||
|
},
|
||||||
|
{ mode = "n", prefix = "<leader>" }
|
||||||
|
)
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
-- customize mason plugins
|
-- customize mason plugins
|
||||||
return { -- use mason-lspconfig to configure LSP installations
|
return {
|
||||||
|
-- use mason-lspconfig to configure LSP installations
|
||||||
{
|
{
|
||||||
"williamboman/mason-lspconfig.nvim",
|
"williamboman/mason-lspconfig.nvim",
|
||||||
-- overrides `require("mason-lspconfig").setup(...)`
|
-- overrides `require("mason-lspconfig").setup(...)`
|
||||||
@@ -8,7 +9,9 @@ return { -- use mason-lspconfig to configure LSP installations
|
|||||||
"diagnosticls",
|
"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",
|
"jay-babu/mason-null-ls.nvim",
|
||||||
-- overrides `require("mason-null-ls").setup(...)`
|
-- overrides `require("mason-null-ls").setup(...)`
|
||||||
|
|||||||
Reference in New Issue
Block a user