config: add gitui

Add neovim lsp marksman
main
sudo pacman -Syu 2024-03-31 14:29:25 +07:00
parent 69fa12e56c
commit 17e384d8ab
4 changed files with 41 additions and 1 deletions

View File

@ -105,3 +105,11 @@ url = "https://raw.githubusercontent.com/catppuccin/newsboat/main/themes/dark"
[[apps.atuin.paths]]
internal = "data/atuin/config.toml"
external = "~/.config/atuin/config.toml"
[[apps.gitui.paths]]
internal = "data/gitui/theme.ron"
external = "~/.config/gitui/theme.ron"
[[apps.gitui.paths]]
internal = "data/gitui/theme.ron"
url = "https://raw.githubusercontent.com/catppuccin/gitui/main/theme/mocha.ron"

23
data/gitui/theme.ron Normal file
View File

@ -0,0 +1,23 @@
(
selected_tab: Some(Reset),
command_fg: Some(Rgb(205, 214, 244)),
selection_bg: Some(Rgb(88, 91, 112)),
selection_fg: Some(Rgb(205, 214, 244)),
cmdbar_bg: Some(Rgb(24, 24, 37)),
cmdbar_extra_lines_bg: Some(Rgb(24, 24, 37)),
disabled_fg: Some(Rgb(127, 132, 156)),
diff_line_add: Some(Rgb(166, 227, 161)),
diff_line_delete: Some(Rgb(243, 139, 168)),
diff_file_added: Some(Rgb(249, 226, 175)),
diff_file_removed: Some(Rgb(235, 160, 172)),
diff_file_moved: Some(Rgb(203, 166, 247)),
diff_file_modified: Some(Rgb(250, 179, 135)),
commit_hash: Some(Rgb(180, 190, 254)),
commit_time: Some(Rgb(186, 194, 222)),
commit_author: Some(Rgb(116, 199, 236)),
danger_fg: Some(Rgb(243, 139, 168)),
push_gauge_bg: Some(Rgb(137, 180, 250)),
push_gauge_fg: Some(Rgb(30, 30, 46)),
tag_fg: Some(Rgb(245, 224, 220)),
branch_fg: Some(Rgb(148, 226, 213))
)

View File

@ -438,7 +438,6 @@ require("lazy").setup({
sh = { "shfmt" },
toml = { "taplo" },
},
log_level = vim.log.levels.DEBUG,
formatters = {
gofumpt = {
prepend_args = { "-extra" },
@ -515,6 +514,11 @@ require("lazy").setup({
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#pyright
lspconfig.pyright.setup({})
-- Markdown
-- https://github.com/artempyanykh/marksman
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#marksman
lspconfig.marksman.setup({})
-- General
vim.keymap.set("n", "[d", vim.diagnostic.goto_prev)
vim.keymap.set("n", "]d", vim.diagnostic.goto_next)

View File

@ -121,6 +121,11 @@ if command -v atuin &>/dev/null; then
eval "$(atuin init zsh --disable-up-arrow)"
fi
# https://github.com/extrawurst/gitui
if command -v gitui &>/dev/null; then
alias gu="gitui"
fi
# https://github.com/Schniz/fnm
if command -v fnm &>/dev/null; then
eval "$(fnm env --use-on-cd)"