HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //home/ubuntu/neovim/.deps/build/src/treesitter_vim/test/corpus/comments.txt
================================================================================
Basic comment
================================================================================

" Hello

--------------------------------------------------------------------------------

(script_file
  (comment))

================================================================================
Comment after statement
================================================================================

echo "bar" " Hello

--------------------------------------------------------------------------------

(script_file
  (echo_statement
    (string_literal))
  (comment))

================================================================================
Comment with inner quotes
================================================================================

" 'hello'

--------------------------------------------------------------------------------

(script_file
  (comment))

================================================================================
Comment with inner double quotes
================================================================================

" "hello"

--------------------------------------------------------------------------------

(script_file
  (comment))

================================================================================
Set then comment
================================================================================

set foobar " comment

--------------------------------------------------------------------------------

(script_file
  (set_statement
    (set_item
      (option_name)))
  (comment))

================================================================================
Line continuation comments
================================================================================

echo
"\ comment
\ "hello, world"

func foo(
  "\ a ludicrously long but necessary description that won't fit
  \ first_argument_with_a_long_name,
  "\ another ludicrously long but necessary description that won't fit
  \ second_argument_with_a_long_name)
  "\ if you don't include this the function will run even after an error
  \ abort
  return first_argument_with_a_long_name + second_argument_with_a_long_name
endfunc

let x =<< END
"\ this is not a comment
END

let array = [
    "\ first entry comment
    \ 'first',
    "\ second entry comment
    \ 'second',
    \ ]

--------------------------------------------------------------------------------

(script_file
  (echo_statement
    (line_continuation_comment)
    (string_literal))
  (function_definition
    (function_declaration
      name: (identifier)
      parameters: (parameters
        (line_continuation_comment)
        (identifier)
        (line_continuation_comment)
        (identifier)))
    (line_continuation_comment)
    (body
      (return_statement
        (binary_operation
          left: (identifier)
          right: (identifier)))))
  (let_statement
    (identifier)
    (heredoc
      (marker_definition)
      (body)
      (endmarker)))
  (let_statement
    (identifier)
    (list
      (line_continuation_comment)
      (string_literal)
      (line_continuation_comment)
      (string_literal))))