Commit 590e7f5
authored
feat(dx): enhance completion for Lua/cmdline and TypeScript LSP
This commit significantly improves the developer experience for Lua and
TypeScript by overhauling completion and LSP configurations.
`nvim-cmp` is enhanced with new sources and filetype-specific setups:
- Adds `cmp-nvim-lua` for intelligent Neovim API completion in Lua files.
- Integrates `cmp-cmdline` for powerful completion in the command-line.
- Includes `cmp-spell` as a new completion source.
- Adds icons to completion items to indicate their source (LSP, Copilot).
The `tsserver` configuration for TypeScript/JavaScript is greatly improved:
- Adds `<leader>xo` keymap and `:LspOrganize` command to organize imports.
- Enables extensive inlay hints for parameter names, variable types, and
properties to improve code readability.
- Disables the built-in LSP formatter to ensure `conform.nvim` is the
single source of truth.
Additionally, the `prettier` formatter in `conform.nvim` now respects
local `.prettierrc` configurations. A new `.meowg1k.yml` is also added
to provide powerful, project-specific AI assistance for meowvim
development.1 parent 8a2b384 commit 590e7f5
File tree
6 files changed
+1003
-213
lines changed- .meowg1k
- lua/plugins
6 files changed
+1003
-213
lines changed
0 commit comments