Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

45 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeoVim Config

Swift and Objective-C prerequisites

Swift and Objective-C support uses the toolchain selected by xcode-select for SourceKit-LSP, swift format, and clang-format. It includes Treesitter highlighting, completion and navigation, formatting, Xcode and SwiftPM builds, tests, and code coverage through xcodebuild.nvim.

Install Xcode and select it as the active developer directory. Mason installs xcode-build-server and xcbeautify; nvim-treesitter installs the Swift and Objective-C parsers. The following commands should resolve successfully:

xcode-select -p
xcrun --find sourcekit-lsp
xcrun --find swift-format
xcrun --find clang-format

Open Neovim from an Xcode project or workspace and run :XcodebuildSetup once. The wizard selects the project, scheme, and device and generates buildServer.json for project-aware SourceKit-LSP results. Use :XcodebuildPicker to access build, run, test, coverage, and project actions; the Xcode integration does not define keybindings. Run :checkhealth xcodebuild to diagnose the toolchain and project configuration.

Swift packages are detected through Package.swift. DAP debugging and the optional pymobiledevice3 integration are intentionally disabled.

Rust prerequisites

Rust support includes Treesitter highlighting, rust-analyzer completion and navigation, and rustfmt formatting. It requires a Rust toolchain on PATH. Install the formatter with rustup:

rustup component add rustfmt

Mason automatically installs and enables rust-analyzer, while nvim-treesitter installs the Rust parser.

Java and Kotlin prerequisites

Java and Kotlin support includes Treesitter highlighting, LSP completion and navigation, and formatting.

  • Put a JDK 21 or newer on PATH to run Eclipse JDT LS. Projects may target an older JDK through their Gradle or Maven configuration.
  • Make sure the JDK used to import a project is supported by that project's Gradle or Maven wrapper. JDK 21 is a safe default for current JVM projects.
  • Use a Gradle or Maven wrapper in each project (gradlew or mvnw) when possible.
  • Keep the tree-sitter CLI available for parser installation.

Mason automatically installs JDT LS, JetBrains' Kotlin LSP, google-java-format, and ktlint. The JetBrains Kotlin LSP is currently alpha software and supports JVM Gradle and Maven projects.

BEAM prerequisites

Elixir and Erlang support expects these executables on PATH:

  • elixir, mix, and erl
  • rebar3
  • erlfmt
  • tree-sitter CLI 0.26.1 or newer

On macOS, install the shared tools with:

brew install tree-sitter-cli rebar3
mix local.hex --force
mix local.rebar --force

Install erlfmt with your package manager or build its official escript. Mason automatically installs ElixirLS and ELP; nvim-treesitter installs the configured parsers.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages