bugabinga neovim config
neovim configuration is scripting. scripting with lua + neovim api is programming.
project structure
init.lua
: main entry point
puk.nu
: out-of-band plugin manager
lua/patches
: overrides to built-in lua functions of neovim
lua/std
: standard lib. can only depend on itself and neovim apis.
lua/bugabinga
: config modules, that in aggregation, define all of the configuration and may
only depend on itself, std and plugins.
lua/bugabinga/plugins
: third party plugins and their config glue integrating it into the config.
colors/nugu
: color theme
ftplugin
: file type specific config
after\queries
: additional treesitter queries
\
ai poem
I am the bone of my code, bugs are my body and exceptions are my blood. I have created over a thousand bugs, unknown to testers, nor known to debuggers. Have withstood pain to create many programs, yet those hands will never hold a working program. So as I pray, Unlimited Bug Works.
~ Shirou Emiya
todo
- configure friendly-snippets with blink.cmp
- is it worth integrating yazi into neovim?
- check out https://github.com/garymjr/nvim-snippets
- steal https://github.com/olrtg/nvim-emmet
- create skeleton-plugin for default file content based on file type
- user command for creating new file
- :Skeletor java class -> java files with correct package and boilerplate (class, interface, record,...)
- Use https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#snippet_syntax as template syntax