fix: astronvim - lsp

This commit is contained in:
Ryan Yin
2023-07-13 23:45:44 +08:00
parent 39d35091d6
commit d718c8084a
2 changed files with 9 additions and 2 deletions

View File

@@ -152,12 +152,14 @@ return {
"gopls", -- go
"rust_analyzer", -- rust
"pyright", -- python
"ruff_lsp", -- extremely fast Python linter and code transformation
"jdtls", -- java
"nil_ls", -- nix language server
"bufls", -- protocol buffer language server
"zls", -- zig language server
---- Operation & Cloud Native
"bashls", -- bash
"clojure_lsp", -- cmake
"cmake", -- cmake language server
"clangd", -- c/c++
"dockerls", -- dockerfile
"jsonnet_ls", -- jsonnet language server

View File

@@ -28,6 +28,8 @@
# Next Buffer(Tab): `]b`
# Previous Buffer(Tab): `[b`
# Close Buffer: `<Space> + c`
#
#
# ......
# See https://astronvim.com/Basic%20Usage/walkthrough
#
@@ -79,6 +81,7 @@
packages = with pkgs; [
#-- c/c++
cmake
cmake-language-server
gnumake
gcc # c/c++ compiler, required by nvim-treesitter!
llvmPackages.clang-unwrapped # c/c++ tools with clang-tools such as clangd
@@ -94,6 +97,9 @@
rust-analyzer
cargo # rust package manager
rustfmt
#-- zig
zls
#-- nix
nil
@@ -102,7 +108,6 @@
statix # Lints and suggestions for the nix programming language
deadnix # Find and remove unused code in .nix source files
alejandra # Nix Code Formatter
# nixpkgs-fmt
#-- golang
go