mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-04 22:34:31 +02:00
34 lines
520 B
Nix
34 lines
520 B
Nix
|
let
|
||
|
inlayHintsOptions = [
|
||
|
"inline"
|
||
|
"onlyCurrentLine"
|
||
|
"onlyCurrentLineAutocmd"
|
||
|
"showParameterHints"
|
||
|
"parameterHintsPrefix"
|
||
|
"otherHintsPrefix"
|
||
|
"maxLenAlign"
|
||
|
"maxLenAlignPadding"
|
||
|
"rightAlign"
|
||
|
"rightAlignPadding"
|
||
|
"highlight"
|
||
|
"priority"
|
||
|
];
|
||
|
astOptions = [
|
||
|
"roleIcons"
|
||
|
"kindIcons"
|
||
|
"highlights"
|
||
|
];
|
||
|
in
|
||
|
[
|
||
|
"memoryUsage"
|
||
|
"symbolInfo"
|
||
|
]
|
||
|
++ map (oldOption: [
|
||
|
"inlayHints"
|
||
|
oldOption
|
||
|
]) inlayHintsOptions
|
||
|
++ map (oldOption: [
|
||
|
"ast"
|
||
|
oldOption
|
||
|
]) astOptions
|