Skip to content

Commit a1b412b

Browse files
author
Richard V.H
committed
Enabled debug plugin
1 parent 2e890c0 commit a1b412b

File tree

4 files changed

+122
-8
lines changed

4 files changed

+122
-8
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ test.sh
44
nvim
55

66
spell/
7-
lazy-lock.json

CLAUDE.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# CLAUDE.md
2+
3+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4+
5+
## Overview
6+
7+
This is a Neovim configuration based on kickstart.nvim, a minimal starting point for Neovim configuration. The codebase is primarily single-file (init.lua) with modular plugin extensions.
8+
9+
## Commands
10+
11+
### Formatting and Linting
12+
- **Format Lua code**: Use stylua via Mason tool installer (automatically configured)
13+
- **Lint files**: Configured through nvim-lint plugin with markdownlint for markdown files
14+
- **Check formatting**: GitHub Actions workflow runs stylua formatting checks
15+
16+
### Development Workflow
17+
- **Start Neovim**: `nvim`
18+
- **Plugin management**: `:Lazy` (view plugin status, updates, etc.)
19+
- **Health check**: `:checkhealth` (verify external dependencies)
20+
- **Mason management**: `:Mason` (manage LSP servers, formatters, linters)
21+
22+
### Key External Dependencies
23+
- `git`, `make`, `unzip`, C Compiler (`gcc`)
24+
- `ripgrep` (for Telescope search functionality)
25+
- Clipboard tool (xclip/xsel/win32yank)
26+
- Optional: Nerd Font (set `vim.g.have_nerd_font = true` in init.lua)
27+
28+
## Architecture
29+
30+
### File Structure
31+
```
32+
init.lua # Main configuration file (single-file approach)
33+
lua/
34+
├── kickstart/ # Kickstart.nvim optional plugins
35+
│ ├── health.lua # Health check functionality
36+
│ └── plugins/ # Modular plugin configurations
37+
│ ├── autopairs.lua
38+
│ ├── debug.lua
39+
│ ├── gitsigns.lua
40+
│ ├── indent_line.lua
41+
│ ├── lint.lua
42+
│ └── neo-tree.lua
43+
└── custom/ # User custom plugins and configurations
44+
└── plugins/
45+
├── init.lua # Custom plugin loader (sets relativenumber)
46+
├── dap.lua # Debug adapter protocol
47+
├── hardtime.lua
48+
└── codium.lua # Codeium AI completion
49+
```
50+
51+
### Plugin Management
52+
- **Plugin manager**: lazy.nvim
53+
- **LSP management**: Mason + mason-lspconfig + mason-tool-installer
54+
- **Automatic installation**: Tools specified in `ensure_installed` table are auto-installed via Mason
55+
56+
### Core Plugin Categories
57+
1. **LSP & Completion**: nvim-lspconfig, nvim-cmp, mason ecosystem
58+
2. **Fuzzy Finding**: Telescope with fzf-native extension
59+
3. **Syntax**: nvim-treesitter with auto-update
60+
4. **Formatting**: conform.nvim with stylua for Lua
61+
5. **Git**: gitsigns for git integration
62+
6. **UI**: which-key, neo-tree (file explorer)
63+
7. **Debugging**: nvim-dap with UI extensions
64+
65+
### Configuration Philosophy
66+
- Single init.lua file keeps configuration simple and readable
67+
- Modular plugins in separate files for organization
68+
- Lazy loading for performance
69+
- Format-on-save enabled with LSP fallback
70+
- Automatic tool installation via Mason
71+
72+
### Custom Extensions
73+
- Relative line numbers enabled by default
74+
- Codeium AI completion integration
75+
- Additional debugging capabilities with nvim-dap
76+
- Hard time plugin for Vim training
77+
78+
## Development Notes
79+
80+
- The configuration follows kickstart.nvim principles: readable, documented, and minimal
81+
- LSP servers and tools are automatically installed via Mason
82+
- Format-on-save is configured with LSP fallback for unsupported file types
83+
- Plugin lazy-loading is used extensively for performance
84+
- Custom plugins should be added to `lua/custom/plugins/` directory

init.lua

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -980,31 +980,25 @@ require('lazy').setup({
980980
-- Here are some example plugins that I've included in the Kickstart repository.
981981
-- Uncomment any of the lines below to enable them (you will need to restart nvim).
982982
--
983-
-- require 'kickstart.plugins.debug',
983+
require 'kickstart.plugins.debug',
984984
require 'kickstart.plugins.indent_line',
985985
require 'kickstart.plugins.lint',
986-
-- require 'kickstart.plugins.indent_line',
987-
-- require 'kickstart.plugins.lint',
988986
-- require 'kickstart.plugins.autopairs',
989987
-- require 'kickstart.plugins.neo-tree',
990988
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
991-
require 'kickstart.plugins.indent_line',
992-
require 'kickstart.plugins.lint',
993989

994990
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
995991
-- This is the easiest way to modularize your config.
996992
--
997993
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
998994
-- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins`
999995
{ import = 'custom.plugins' },
1000-
-- { import = 'custom.plugins' },
1001996
--
1002997
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
1003998
-- Or use telescope!
1004999
-- In normal mode type `<space>sh` then write `lazy.nvim-plugin`
10051000
-- you can continue same window with `<space>sr` which resumes last telescope search
10061001
-- For additional information, see `:help lazy.nvim-lazy.nvim-structuring-your-plugins`
1007-
{ import = 'custom.plugins' },
10081002
}, {
10091003
ui = {
10101004
-- If you are using a Nerd Font: set icons to an empty table which will use the

lazy-lock.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"LuaSnip": { "branch": "master", "commit": "21f74f7ba8c49f95f9d7c8293b147c2901dd2d3a" },
3+
"cmp-nvim-lsp": { "branch": "main", "commit": "bd5a7d6db125d4654b50eeae9f5217f24bb22fd3" },
4+
"cmp-nvim-lsp-signature-help": { "branch": "main", "commit": "031e6ba70b0ad5eee49fd2120ff7a2e325b17fa7" },
5+
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },
6+
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
7+
"codeium.vim": { "branch": "main", "commit": "a8d47ec54fe82df920b2545559f767003e8a7f8d" },
8+
"conform.nvim": { "branch": "master", "commit": "b4aab989db276993ea5dcb78872be494ce546521" },
9+
"fidget.nvim": { "branch": "main", "commit": "4d5858bd4c471c895060e1b9f3575f1551184dc5" },
10+
"gitsigns.nvim": { "branch": "main", "commit": "6e3c66548035e50db7bd8e360a29aec6620c3641" },
11+
"hardtime.nvim": { "branch": "main", "commit": "6d7664d5bdfaea44c5f50b29f5239fab7b00c273" },
12+
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
13+
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
14+
"lazydev.nvim": { "branch": "main", "commit": "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c" },
15+
"mason-lspconfig.nvim": { "branch": "main", "commit": "5e085efe67fccb13372d54331d849219662a7e93" },
16+
"mason-nvim-dap.nvim": { "branch": "main", "commit": "86389a3dd687cfaa647b6f44731e492970034baa" },
17+
"mason-tool-installer.nvim": { "branch": "main", "commit": "517ef5994ef9d6b738322664d5fdd948f0fdeb46" },
18+
"mason.nvim": { "branch": "main", "commit": "7dc4facca9702f95353d5a1f87daf23d78e31c2a" },
19+
"mini.nvim": { "branch": "main", "commit": "6bf9eccaf2a5395b254bc031f9812cf163ca4187" },
20+
"monokai-pro.nvim": { "branch": "master", "commit": "1ac671f6da720cba967d28d25c2f16b8b4e18808" },
21+
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
22+
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
23+
"nvim-dap": { "branch": "master", "commit": "7523676a4be17644587aa47e4d42f6f7646d4727" },
24+
"nvim-dap-go": { "branch": "main", "commit": "b4421153ead5d726603b02743ea40cf26a51ed5f" },
25+
"nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" },
26+
"nvim-lint": { "branch": "master", "commit": "f126af5345c7472e9a0cdbe1d1a29209be72c4c4" },
27+
"nvim-lspconfig": { "branch": "master", "commit": "c8b90ae5cbe21d547b342b05c9266dcb8ca0de8f" },
28+
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
29+
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
30+
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
31+
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
32+
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
33+
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
34+
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
35+
"vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" },
36+
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }
37+
}

0 commit comments

Comments
 (0)