hardcoded order
This commit is contained in:
parent
c06672451a
commit
13e8547fa7
1 changed files with 2 additions and 4 deletions
|
|
@ -65,15 +65,13 @@ proc parseQuoted(cmd: string; outp: var string; start: int): int =
|
||||||
i += parseUntil(cmd, outp, seps, i)
|
i += parseUntil(cmd, outp, seps, i)
|
||||||
result = i
|
result = i
|
||||||
|
|
||||||
# make sure it's in the same order as the proc below
|
|
||||||
let order: SexpNode =
|
|
||||||
sexp(@["section", "symkind", "qualifiedPath", "filePath", "forth", "line", "column", "doc"].map(newSSymbol))
|
|
||||||
|
|
||||||
proc sexp(s: IdeCmd): SexpNode = sexp($s)
|
proc sexp(s: IdeCmd): SexpNode = sexp($s)
|
||||||
|
|
||||||
proc sexp(s: TSymKind): SexpNode = sexp($s)
|
proc sexp(s: TSymKind): SexpNode = sexp($s)
|
||||||
|
|
||||||
proc sexp(s: Suggest): SexpNode =
|
proc sexp(s: Suggest): SexpNode =
|
||||||
|
# If you change the oder here, make sure to change it over in
|
||||||
|
# nim-mode.el too.
|
||||||
result = convertSexp([
|
result = convertSexp([
|
||||||
s.section,
|
s.section,
|
||||||
s.symkind,
|
s.symkind,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue