jsvim: JavaScript/TypeScript support, modular language architecture, and DX overhaul#1
Open
fulsomenko wants to merge 1 commit into
Open
jsvim: JavaScript/TypeScript support, modular language architecture, and DX overhaul#1fulsomenko wants to merge 1 commit into
fulsomenko wants to merge 1 commit into
Conversation
BREAKING: rename default flake output `nvim` -> `jsvim`. Binary aliases
(`nvim`, `vim`) preserved, so day-to-day shell usage is unchanged.
Make per-language nix modules the single source of truth: each
`nix/languages/*.nix` now declares its `formatters`, `linters`, `lspName`
and runtime deps, and a new `mkLanguagePackage` helper in `nix/lib.nix`
collapses ~600 lines of duplicated `packageDefinitions` in `flake.nix`.
Lua reads merged formatter/linter tables via `nixCats.extra("languageConfig.*")`,
so adding a language no longer requires touching the format/lint lua files.
JS/TS DX:
- Add eslint, jsonls, yamlls, cssls, html, tailwindcss, emmet LSPs
with language-aware root_markers and SchemaStore-backed schemas.
- Fix ts_ls settings (drop bogus `displayStringForProperties`; add
valid inlayHints / code lens / preferences).
- Rewrite nvim-dap-js around vscode-js-debug's dapDebugServer; add
launch configs for node, tsx, npm script picker, jest, vitest.
- Wire eslint_d via nvim-lint and prettier(d) for js/ts/json/html/
css/yaml/markdown/graphql/vue/svelte via conform.
- Add nvim-ts-autotag, nvim-ts-context-commentstring, package-info.nvim,
SchemaStore.nvim, neotest (+jest, +vitest), and nvim-autopairs.
- New `:checkhealth jsvim` reports tooling and attached clients.
LSP / editor polish:
- Inlay hints auto-on at LspAttach with `<leader>th` toggle.
- `vim.diagnostic.config` (rounded float, severity sort, virtual_text).
- Mason path migrated to mason-lspconfig v2 API.
- Import helpers use typed code-action kinds (source.organizeImports.ts).
Sweep deprecated APIs repo-wide: nvim_*_set_option, get_active_clients,
execute_command, diagnostic.goto_*, highlight.on_yank.
Misc: drop conflicting `vim.o.clipboard`; move Claude toggle off the
non-portable `<C-,>` to `<leader>ct`; make `ai` category opt-in per
package; add `.github/workflows/check.yml` running `nix flake check`
and building every language package.
Docs (README, installation, language-packages, adding-languages, CHANGELOG)
updated to reflect the new package name, plugin set, keymaps, and the
new mkLanguagePackage workflow for adding a language.
Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
🤖 Generated with Claude Code