removed typescript, tailwind, javascript and svelte tooling
Drop ts_ls, tailwindcss and eslint servers, eslint_d, the typescript/tsx/javascript/svelte treesitter parsers and their prettier rules. Update CLAUDE.md, including the pending notes on blink.cmp and lazydev. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
22c94cb549
commit
826d812ee6
4 files changed
+16
-20
No files matched your search
@@ -8,9 +8,10 @@ Personal Neovim configuration using [lazy.nvim](https://github.com/folke/lazy.nv
|
|||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
**Entry point:** `init.lua` loads two modules:
|
**Entry point:** `init.lua` loads three modules:
|
||||||
- `holger.core` — Neovim options and keymaps (`lua/holger/core/`)
|
- `holger.core` — Neovim options and keymaps (`lua/holger/core/`)
|
||||||
- `holger.lazy` — bootstraps lazy.nvim and loads all plugins
|
- `holger.lazy` — bootstraps lazy.nvim and loads all plugins
|
||||||
|
- `holger.lsp` — LSP keymaps and diagnostic signs
|
||||||
|
|
||||||
**Plugin loading:** `lua/holger/lazy.lua` calls `require("lazy").setup()` with two import paths:
|
**Plugin loading:** `lua/holger/lazy.lua` calls `require("lazy").setup()` with two import paths:
|
||||||
- `holger.plugins` — all files in `lua/holger/plugins/` (each returns a lazy.nvim spec table)
|
- `holger.plugins` — all files in `lua/holger/plugins/` (each returns a lazy.nvim spec table)
|
||||||
@@ -27,14 +28,22 @@ Personal Neovim configuration using [lazy.nvim](https://github.com/folke/lazy.nv
|
|||||||
## LSP Stack
|
## LSP Stack
|
||||||
|
|
||||||
- `mason.nvim` — installs LSP servers and tools
|
- `mason.nvim` — installs LSP servers and tools
|
||||||
- `mason-lspconfig.nvim` — bridges Mason with nvim-lspconfig; auto-installs: `ts_ls`, `html`, `cssls`, `tailwindcss`, `lua_ls`, `pyright`, `eslint`
|
- `mason-lspconfig.nvim` — bridges Mason with nvim-lspconfig; auto-installs: `html`, `cssls`, `lua_ls`, `pyright`
|
||||||
- `mason-tool-installer.nvim` — installs formatters/linters: `prettier`, `stylua`, `isort`, `black`, `pylint`, `eslint_d`
|
- `mason-tool-installer.nvim` — installs formatters/linters: `prettier`, `stylua`, `isort`, `black`, `pylint`
|
||||||
- `cmp-nvim-lsp` (`lua/holger/plugins/lsp/lspconfig.lua`) — sets up capabilities via `vim.lsp.config("*", ...)` (native Neovim LSP API)
|
- `blink.cmp` (`lua/holger/plugins/blink-cmp.lua`) — sets up LSP capabilities via `vim.lsp.config("*", ...)` (native Neovim LSP API)
|
||||||
|
- `lazydev.nvim` — Lua LSP annotations for Neovim API (`vim.*`)
|
||||||
|
|
||||||
|
## Completion
|
||||||
|
|
||||||
|
- **blink.cmp** — completion engine with built-in LSP, buffer, path, and snippet sources
|
||||||
|
- Replaces: nvim-cmp, cmp-nvim-lsp, LuaSnip, lspkind, nvim-autopairs
|
||||||
|
- Snippets loaded from `friendly-snippets`
|
||||||
|
- Auto-brackets enabled (replaces nvim-autopairs)
|
||||||
|
|
||||||
## Formatting & Linting
|
## Formatting & Linting
|
||||||
|
|
||||||
- **conform.nvim** — formats on save; `<leader>mp` to format manually
|
- **conform.nvim** — formats on save; `<leader>mp` to format manually
|
||||||
- JS/TS/CSS/HTML/JSON/YAML/Markdown/GraphQL → prettier
|
- CSS/HTML/JSON/YAML/Markdown/GraphQL → prettier
|
||||||
- Lua → stylua
|
- Lua → stylua
|
||||||
- Python → isort + black
|
- Python → isort + black
|
||||||
- **nvim-lint** — lints on BufEnter/BufWritePost/InsertLeave; `<leader>l` to trigger manually
|
- **nvim-lint** — lints on BufEnter/BufWritePost/InsertLeave; `<leader>l` to trigger manually
|
||||||
@@ -61,10 +70,10 @@ Personal Neovim configuration using [lazy.nvim](https://github.com/folke/lazy.nv
|
|||||||
|
|
||||||
- **telescope.nvim** — fuzzy finder with fzf-native extension
|
- **telescope.nvim** — fuzzy finder with fzf-native extension
|
||||||
- **nvim-treesitter** — syntax highlighting and incremental selection (`<C-space>`)
|
- **nvim-treesitter** — syntax highlighting and incremental selection (`<C-space>`)
|
||||||
- **nvim-cmp** — completion engine with LuaSnip snippets and LSP/buffer/path sources
|
- **blink.cmp** — completion engine with LSP/buffer/path/snippet sources
|
||||||
- **flash.nvim** — enhanced motion with jump labels; integrated into `/` search
|
- **flash.nvim** — enhanced motion with jump labels; integrated into `/` search
|
||||||
- **neorg** — note-taking, workspace at `~/notes`
|
|
||||||
- **auto-session** — automatic session save/restore
|
- **auto-session** — automatic session save/restore
|
||||||
- **which-key** — displays keybinding hints
|
- **which-key** — displays keybinding hints
|
||||||
- **fugitive** — Git integration
|
- **fugitive** — Git integration
|
||||||
- **trouble.nvim** — diagnostics list
|
- **trouble.nvim** — diagnostics list
|
||||||
|
- **lazydev.nvim** — Lua LSP support for Neovim config development
|
||||||
@@ -6,11 +6,6 @@ return {
|
|||||||
|
|
||||||
conform.setup({
|
conform.setup({
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
javascript = { "prettier" },
|
|
||||||
typescript = { "prettier" },
|
|
||||||
javascriptreact = { "prettier" },
|
|
||||||
typescriptreact = { "prettier" },
|
|
||||||
svelte = { "prettier" },
|
|
||||||
css = { "prettier" },
|
css = { "prettier" },
|
||||||
html = { "prettier" },
|
html = { "prettier" },
|
||||||
json = { "prettier" },
|
json = { "prettier" },
|
||||||
|
|||||||
@@ -4,13 +4,10 @@ return {
|
|||||||
opts = {
|
opts = {
|
||||||
-- list of servers for mason to install
|
-- list of servers for mason to install
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"ts_ls",
|
|
||||||
"html",
|
"html",
|
||||||
"cssls",
|
"cssls",
|
||||||
"tailwindcss",
|
|
||||||
"lua_ls",
|
"lua_ls",
|
||||||
"pyright",
|
"pyright",
|
||||||
"eslint",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
dependencies = {
|
dependencies = {
|
||||||
@@ -38,7 +35,6 @@ return {
|
|||||||
"isort", -- python formatter
|
"isort", -- python formatter
|
||||||
"black", -- python formatter
|
"black", -- python formatter
|
||||||
"pylint",
|
"pylint",
|
||||||
"eslint_d",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
|||||||
@@ -16,16 +16,12 @@ return {
|
|||||||
-- ensure these language parsers are installed
|
-- ensure these language parsers are installed
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"json",
|
"json",
|
||||||
"javascript",
|
|
||||||
"typescript",
|
|
||||||
"tsx",
|
|
||||||
"yaml",
|
"yaml",
|
||||||
"html",
|
"html",
|
||||||
"css",
|
"css",
|
||||||
"prisma",
|
"prisma",
|
||||||
"markdown",
|
"markdown",
|
||||||
"markdown_inline",
|
"markdown_inline",
|
||||||
"svelte",
|
|
||||||
"graphql",
|
"graphql",
|
||||||
"bash",
|
"bash",
|
||||||
"lua",
|
"lua",
|
||||||
|
|||||||
Reference in new issue
Block a user