Compare commits

..
3 Commits
Author SHA1 Message Date
natercio 4f056a099f neovim: update mason name to mason-org/mason.nvim 2026-10-27 10:06:26 +00:00
natercio 881a5dadff neovim: fix a bunch of small issues
- snack explorer now opens on the neovim is open at instead of the go
module
- remove obsolete linting stuff
2026-10-27 10:01:02 +00:00
natercio 58bec27062 add starship dot-files 2026-10-19 22:10:51 +01:00
8 changed files with 284 additions and 4 deletions

No files matched your search

+5
View File
@@ -89,5 +89,10 @@
smudge = git-lfs smudge -- %f smudge = git-lfs smudge -- %f
process = git-lfs filter-process process = git-lfs filter-process
[url "[email protected]:castai/"]
insteadOf = https://github.com/castai/
[fetch] [fetch]
prune = true prune = true
[url "[email protected]:"]
insteadOf = https://github.com/
@@ -15,8 +15,9 @@ local function toggle_or_focus_explorer()
return return
end end
-- No explorer open; open one at the project root -- No explorer open; open one at the actual working directory.
Snacks.explorer({ cwd = LazyVim.root() }) -- (inside the explorer, <c-r> toggles between project cwd and module root)
Snacks.explorer()
end end
vim.keymap.set("n", "<leader>e", toggle_or_focus_explorer, { desc = "Explorer (toggle/focus)" }) vim.keymap.set("n", "<leader>e", toggle_or_focus_explorer, { desc = "Explorer (toggle/focus)" })
@@ -0,0 +1,11 @@
return {
{
"mfussenegger/nvim-lint",
optional = true,
opts = {
linters_by_ft = {
sql = { "sqlfluff" },
},
},
},
}
@@ -6,7 +6,6 @@ return {
gopls = { gopls = {
settings = { settings = {
gopls = { gopls = {
experimentalWorkspaceModule = true,
hints = { hints = {
assignVariableTypes = false, assignVariableTypes = false,
-- compositeLiteralFields = false, -- compositeLiteralFields = false,
+1 -1
View File
@@ -1,6 +1,6 @@
return { return {
{ {
"williamboman/mason.nvim", "mason-org/mason.nvim",
opts = { opts = {
ensure_installed = { ensure_installed = {
"delve", "delve",
+9
View File
@@ -0,0 +1,9 @@
MIT License
Copyright (c) 2025 configs
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+17
View File
@@ -0,0 +1,17 @@
# starship-prompt
The minimal, blazing-fast, and infinitely customizable prompt for any shell!
# Getting started
```
brew install starship
echo 'eval "$(starship init zsh)"' >> ~/.zshrc
git clone https://git.naterciomoniz.net/configs/starship-prompt.git ~/.config/starship
echo 'export STARSHIP_CONFIG=~/.config/starship/starship.toml' >> ~/.zshrc
```
+238
View File
@@ -0,0 +1,238 @@
format = """
$username\
$hostname\
$directory\
$git_branch\
$git_state\
$git_status\
$all\
$cmd_duration\
$line_break\
$character"""
# Modules
[aws]
symbol = " "
[buf]
symbol = " "
[bun]
symbol = " "
[character]
success_symbol = "[❯](purple)"
error_symbol = "[❯](red)"
vimcmd_symbol = "[❮](green)"
[directory]
style = "blue"
read_only = " 󰌾"
[c]
symbol = " "
[cmake]
symbol = " "
#format = '([$symbol ]($style))'
[cmd_duration]
format = "[$duration]($style) "
style = "yellow"
[cpp]
symbol = " "
[conda]
symbol = " "
[crystal]
symbol = " "
[dart]
symbol = " "
[deno]
symbol = " "
[docker_context]
symbol = " "
[elixir]
symbol = " "
[elm]
symbol = " "
[fennel]
symbol = " "
[fossil_branch]
symbol = " "
[gcloud]
symbol = " "
[git_branch]
format = "[$symbol$branch ]($style)"
style = "bright-black"
symbol = " "
[git_commit]
tag_symbol = '  '
[git_status]
format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style) "
conflicted = "​"
untracked = "​"
modified = "​"
staged = "​"
renamed = "​"
deleted = "​"
stashed = "≡"
[git_state]
format = '\([$state( $progress_current/$progress_total)]($style)\) '
style = "bright-black"
[golang]
symbol = " "
format = '[$symbol ]($style)'
[guix_shell]
symbol = " "
[haskell]
symbol = " "
[haxe]
symbol = " "
[hg_branch]
symbol = " "
[hostname]
ssh_symbol = " "
[java]
symbol = " "
[julia]
symbol = " "
[kotlin]
symbol = " "
[kubernetes]
format = '[$symbol$context( \($namespace\))]($style) '
disabled = false
[lua]
symbol = " "
format = '[$symbol ]($style)'
[memory_usage]
symbol = "󰍛 "
[meson]
symbol = "󰔷 "
[nim]
symbol = "󰆥 "
[nix_shell]
symbol = " "
[nodejs]
symbol = " "
[ocaml]
symbol = " "
[os.symbols]
Alpaquita = " "
Alpine = " "
AlmaLinux = " "
Amazon = " "
Android = " "
Arch = " "
Artix = " "
CachyOS = " "
CentOS = " "
Debian = " "
DragonFly = " "
Emscripten = " "
EndeavourOS = " "
Fedora = " "
FreeBSD = " "
Garuda = "󰛓 "
Gentoo = " "
HardenedBSD = "󰞌 "
Illumos = "󰈸 "
Kali = " "
Linux = " "
Mabox = " "
Macos = " "
Manjaro = " "
Mariner = " "
MidnightBSD = " "
Mint = " "
NetBSD = " "
NixOS = " "
Nobara = " "
OpenBSD = "󰈺 "
openSUSE = " "
OracleLinux = "󰌷 "
Pop = " "
Raspbian = " "
Redhat = " "
RedHatEnterprise = " "
RockyLinux = " "
Redox = "󰀘 "
Solus = "󰠳 "
SUSE = " "
Ubuntu = " "
Unknown = " "
Void = " "
Windows = "󰍲 "
[package]
symbol = "󰏗 "
[perl]
symbol = " "
[php]
symbol = " "
[pijul_channel]
symbol = " "
[pixi]
symbol = "󰏗 "
[python]
symbol = " "
format = "$symbol[$virtualenv]($style) "
[rlang]
symbol = "󰟔 "
[ruby]
symbol = " "
[rust]
symbol = "󱘗 "
[scala]
symbol = " "
[swift]
symbol = " "
[zig]
symbol = " "
[gradle]
symbol = " "