Skip to content

Commit f371420

Browse files
authored
fishgen: Drop unnecessary line length check (#1118)
The following starts-with 'complete' where filter covers it as well.
1 parent 4f7d9a6 commit f371420

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

needs-update/custom-completions/auto-generate/parse-fish.nu

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ def parse-fish [] {
3939
# make use of detect columns -n which with one like properly tokenizers arguments including across quotes
4040
def tokenize-complete-lines [] {
4141
lines
42-
| where ($it | str length) > 0 # remove any empty lines
4342
| where $it starts-with 'complete' # only complete command lines
4443
| each {
4544
str replace -a "\\\\'" "" # remove escaped quotes ' which break detect columns

0 commit comments

Comments
 (0)