Files
nvim/README.md
T
2023-09-02 21:48:52 +02:00

2.1 KiB

Requirements:

Python

Lua

Bash

  • bash-language-server
  • shellcheck
  • shfmt

XML

Markdown

  • yarn (for initial installing through packer)

Rust

  • rust-analyzer

Go

  • go
  • gopls
  • golangci-lint-langserver
  • golangci-lint

C/C++

  • clangd NOTE: Clang >= 11 is recommended! See: https://github.com/neovim/nvim-lsp/issues/23 The file compile_commands.json needs to be available for clangd to work properly. If using CMake, it can be generated automatically using the following: cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 See here for more info: https://clangd.llvm.org/installation#compile_commandsjson
  • clang-tidy Reads the .clang-tidy configuration file if available in root of project. To generate a configiration file, run the following:
    $ clang-tidy -checks='clang-analyzer-*,cppcoreguidelines-*,bugprone-*,modernize-*,performance-*,readability-*' -dum
    

p-config > .clang-tidy ``` Modify the checks as desirable.

  • clang-format Reads the .clang-format configuration file if available in root of project.

CMake

Misc

Optional: