Skip to content
ppp16bitPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Neovim Configuration (LazyVim)

This configuration is based on LazyVim, customized with a focus on minimalism, clean aesthetics, extended multi-language support, and additional development utilities.


Additional Features and Customizations

1. Colorschemes

  • Miasma (OldJobobo/miasma.nvim): Primary theme, active by default with maximum load priority (priority = 1000) and included in the Lazy installer colorscheme list.
  • Solarized (maxmx03/solarized.nvim): Alternative integrated theme, configured with solid background (transparent = { enabled = false }).
  • Centralized in lua/plugins/colorschemes.lua.

2. Minimalist Aesthetics and Behavior

The configuration adheres to a clean and minimal visual profile, prioritizing unobtrusive UI elements:

  • Line Numbering: Absolute line numbers only (relativenumber = false).
  • Special Characters (listchars): Subtle middle dot (·) display for tab characters, trailing whitespace, and non-breaking spaces.
  • Indentation and Scope Guides: Configured in snacks.nvim to use the middle dot character (·).
  • Smooth Scroll Disabled: Instant scrolling in snacks.nvim (scroll = { enabled = false }).
  • Autoformat Disabled on Save: Automatic formatting upon saving files is disabled globally (vim.g.autoformat = false), allowing manual on-demand formatting via <leader>cf.
  • News Popups Disabled: Welcome and update notifications (news) from LazyVim and Neovim are silenced.

Configuration files:

  • lua/config/options.lua
  • lua/plugins/ui.lua

3. Go Test File Toggling

Added keymap <leader>ut to quickly toggle visibility of Go test files (*_test.go), minimizing visual noise in file navigation:

  • Snacks Explorer (lua/plugins/explorer.lua): Global filter applied to the native Snacks explorer, updating open pickers in real time with a status notification.
  • Neo-tree (lua/plugins/go-test-toggle.lua): Local window mapping inside Neo-tree to toggle test file visibility via the filesystem filter list.

4. Discord Rich Presence

  • Plugin: vyfor/cord.nvim (lua/plugins/discord.lua).
  • Behavior: Loaded asynchronously on the VeryLazy event to preserve fast editor startup.
  • Configuration:
    • Client set to LazyVim with Neovim tooltip.
    • Default dark theme with full view.
    • Active session timer enabled (timestamp = true).

5. Enabled Language Extras

Configured via lazyvim.json, providing LSP, linters, formatters, and Treesitter parsers for:

  • C / C++: Clangd, CMake
  • Clojure: Structural editing with Conjure and Paredit
  • Dart: Dart and Flutter support
  • Docker: Dockerfile and docker-compose
  • Git: Gitsigns integrations and version control helpers
  • Go: Official Go tooling (gopls, formatting)
  • Haskell: Haskell-tools and snippets
  • Java: Support via nvim-jdtls
  • JSON / YAML / TOML: Validated schemas via SchemaStore
  • Lean: Interactive theorem proving with lean.nvim
  • Markdown: Inline preview with render-markdown and markdown-preview
  • Python: Automatic virtualenv selection via venv-selector
  • Rust: Full-featured environment with rustaceanvim and crates.nvim
  • SQL: Interactive database client via vim-dadbod and dadbod-ui
  • TypeScript / JavaScript: Support for vtsls, Biome, OXC, and tsc
  • Zig: Language support with zls

Directory Structure

lua/
├── config/
│   ├── autocmds.lua      # Additional autocommands
│   ├── keymaps.lua       # Custom keybindings
│   ├── lazy.lua          # Bootstrap and Lazy.nvim configuration
│   └── options.lua       # Neovim options (minimalist aesthetics)
└── plugins/
    ├── colorschemes.lua  # Miasma and Solarized themes
    ├── discord.lua       # Discord Rich Presence (cord.nvim)
    ├── example.lua       # Reference plugin template
    ├── explorer.lua      # Go test toggle for Snacks Explorer
    ├── go-test-toggle.lua# Go test toggle for Neo-tree
    └── ui.lua            # UI customizations for Snacks and LazyVim

Key Keymaps

Keymap Mode Action
<leader>ut Normal Toggle visibility of Go test files (*_test.go)
<leader>cf Normal Format current file manually

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages