helix handles C source better
This commit is contained in:
parent
f4b4052c30
commit
af62453ef7
1 changed files with 2 additions and 0 deletions
|
|
@ -131,6 +131,8 @@
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "c";
|
name = "c";
|
||||||
|
file-types = ["c" "h"]; # use .hpp for C++
|
||||||
|
auto-format = false;
|
||||||
formatter.command = "${pkgs.clang-tools}/bin/clang-format";
|
formatter.command = "${pkgs.clang-tools}/bin/clang-format";
|
||||||
language-servers = ["clangd"];
|
language-servers = ["clangd"];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue