helix: Configure inlay hints
This commit is contained in:
parent
9f34a86a85
commit
c0c4edd4ab
2 changed files with 5 additions and 0 deletions
|
|
@ -35,6 +35,7 @@ line-numbers = { min-width = 1 }
|
||||||
|
|
||||||
[editor.lsp]
|
[editor.lsp]
|
||||||
display-inlay-hints = true
|
display-inlay-hints = true
|
||||||
|
inlay-hints-length-limit = 10
|
||||||
|
|
||||||
[editor.soft-wrap]
|
[editor.soft-wrap]
|
||||||
enable = true
|
enable = true
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,10 @@ rangeVariableTypes = false
|
||||||
[language-server.rust-analyzer.config.check]
|
[language-server.rust-analyzer.config.check]
|
||||||
command = "clippy"
|
command = "clippy"
|
||||||
|
|
||||||
|
[language-server.rust-analyzer.config.inlayHints]
|
||||||
|
bindingModeHints.enable = true
|
||||||
|
parameterHints.enable = false
|
||||||
|
|
||||||
[language-server.superhtml]
|
[language-server.superhtml]
|
||||||
args = ["lsp", "--syntax-only"]
|
args = ["lsp", "--syntax-only"]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue