diff options
author | Sebastian Neubauer | 2022-01-04 01:53:04 +0000 |
---|---|---|
committer | GitHub | 2022-01-04 01:53:04 +0000 |
commit | 5b1a628e81b7d2f198ef401d442ca7967c5a0135 (patch) | |
tree | 380f8a9f0b61d2c5945496458821c73ec285de98 /book/src | |
parent | 641255ccc83648d164bf6e8e8e4e93460591830b (diff) |
Add textobjects and indents to c and cpp (#1293)
Indentation of single line statements doesn't work, i.e.
for (;;)<hit enter>
leads to
for(;;)
<cursor here>
Only blocks with curly braces are indented.
Diffstat (limited to 'book/src')
-rw-r--r-- | book/src/generated/lang-support.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index ee719b56..a1fbf172 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -1,11 +1,11 @@ | Language | Syntax Highlighting | Treesitter Textobjects | Auto Indent | Default LSP | | --- | --- | --- | --- | --- | | bash | ✓ | | | `bash-language-server` | -| c | ✓ | | | `clangd` | +| c | ✓ | ✓ | ✓ | `clangd` | | c-sharp | ✓ | | | | | cmake | ✓ | ✓ | ✓ | `cmake-language-server` | | comment | ✓ | | | | -| cpp | ✓ | | | `clangd` | +| cpp | ✓ | ✓ | ✓ | `clangd` | | css | ✓ | | | | | dart | ✓ | | ✓ | `dart` | | dockerfile | ✓ | | | `docker-langserver` | |