Skip to content

Commit

Permalink
docs(cpp): Move offset tip to list of what the pack does (#1150)
Browse files Browse the repository at this point in the history
docs(cpp): Move tip to list of what the pack does
  • Loading branch information
Uzaaft authored Aug 11, 2024
1 parent ece293a commit a7df0af
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions lua/astrocommunity/pack/cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,4 @@ This plugin pack does the following:
- Adds `clang-format` formatter
- Adds [clangd_extensions.nvim](https://github.com/p00f/clangd_extensions.nvim) for language specific tooling
- Adds [cmake-tools.nvim](https://github.com/Civitasv/cmake-tools.nvim) for building and debugging

tips: the offset_encondings of clangd will conflict with null-ls, so add the following file in your user_config.

```lua
-- <user_config_path>/lsp/config/clangd.lua
return {
capabilities = {
offsetEncoding = "utf-8",
},
}
```
- Sets up `offset_encondings` for clangd to avoid conflicts with null-ls

0 comments on commit a7df0af

Please sign in to comment.