alaviss/nim.nvim

Incorrect handling of nested comments

Closed this issue · 0 comments

Per https://nim-lang.org/docs/manual.html#lexical-analysis-multiline-comments Nim supports nesting multiline comments.

This code, when ran outputs only 3:

#[
  #[
  echo "1"
  ]#
echo "2"
]#

echo "3"

incorrect

NVIM v0.4.3, nim.vim commit ea3bd85, Kubuntu 18.04