Skip to content

fix(fish): always add conditional.outer for if statements#880

Open
PeterCardenas wants to merge 1 commit intonvim-treesitter:mainfrom
PeterCardenas:add-if-conditional-outer
Open

fix(fish): always add conditional.outer for if statements#880
PeterCardenas wants to merge 1 commit intonvim-treesitter:mainfrom
PeterCardenas:add-if-conditional-outer

Conversation

@PeterCardenas
Copy link
Copy Markdown

if conditionals did not have a @conditional.outer capture when it doesn't have a command, so we add one always for if_statement nodes

example:

if test -z $argv[1]
    return 1
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant