Skip to content

WraithVim 0.11.0

Choose a tag to compare

@cachewraith cachewraith released this 12 Nov 08:21
· 10 commits to main since this release

Autocomplete and error checking for 29 languages

Open a file and WraithVim offers to set up its language for you, once:

Go: install the tools for completion, error checking and formatting?
  gopls    (language server)
  gofumpt  (formatter)
[I]nstall  (N)ot now  Ne(v)er for Go

Press i. The tools install in the background, and a moment later the file you have open gets:

  • smart autocomplete for your code and its libraries (type fmt. and see every function)
  • errors and warnings as you type: underlined, with the message at the end of the line
  • lint checks: ESLint (JS/TS), Ruff (Python), staticcheck (Go), Clippy (Rust), clang-tidy (C/C++), ShellCheck (Bash)
  • go to definition, hover docs (K), rename (Space r n), quick fixes (Space c a)
  • formatting with Space c f

No restart needed.

Languages: JavaScript, TypeScript, Python, Go, Rust, Java, Kotlin, C, C++, C#, PHP, Ruby, Lua, Bash, SQL, HTML (with Emmet), CSS / SCSS / Less, JSON, YAML, TOML, Markdown, Dockerfile, Terraform, GraphQL, Svelte, Elixir, Prisma, Nix, Dart / Flutter, Swift.

Key Shows
Space d d Problems on this line
Space d n / Space d p Next / previous problem
Space d x Search all problems

Good to know:

  • Some tools need their language installed first. For example, Go tools need Go, and web tools need Node.js. The prompt tells you when something is missing.
  • Not now asks again next time. Never stops asking for that language. :InstallTools installs everything at once.
  • Prefer no questions? Put mason = { auto_install = "always" } in ~/.config/wraithvim/options.lua.
  • Tools you already installed yourself are used first.

Update

Run :Update inside WraithVim, or press Space u u, then restart.