Lines Matching refs:comment

10 …call prop_type_add('comment', {'highlight': 'Directory', 'priority': 123, 'start_incl': 1, 'end_in…
13 call assert_equal('comment', proptypes[0])
15 let proptype = prop_type_get('comment')
21 call prop_type_delete('comment')
42 …call prop_type_add('comment', #{bufnr: bufnr, highlight: 'Directory', priority: 123, start_incl: 1…
45 call assert_equal('comment', proptypes[0])
47 let proptype = prop_type_get('comment', {'bufnr': bufnr})
53 call prop_type_delete('comment', {'bufnr': bufnr})
419 prop_type_add('comment', {
426 prop_type_delete('comment')
732 call prop_type_add('comment', {'highlight': 'Directory'})
735 call prop_add(2, 2, {'length': 2, 'type': 'comment'})
736 let expect = #{type_bufnr: 0, col: 2, length: 2, type: 'comment', start: 1, end: 1, id: 0}
751 call prop_add(2, 2, {'length': 5, 'type': 'comment'})
762 call prop_type_delete('comment')
770 call prop_add(1, 2, {'length': 1, 'type': 'comment'})
771 call prop_add(2, 4, {'end_lnum': 4, 'end_col': 5, 'type': 'comment'})
772 call prop_add(5, 2, {'length': 1, 'type': 'comment'})
776 eval 'comment'->prop_type_add({'highlight': 'Directory'})
781 call prop_add(1, 3, {'end_lnum': 3, 'end_col': 5, 'type': 'comment'})
782 let expect1 = #{type_bufnr: 0, col: 3, length: 6, type: 'comment', start: 1, end: 0, id: 0}
784 let expect2 = #{type_bufnr: 0, col: 1, length: 10, type: 'comment', start: 0, end: 0, id: 0}
786 let expect3 = #{type_bufnr: 0, col: 1, length: 4, type: 'comment', start: 0, end: 1, id: 0}
791 call prop_add(1, 1, {'end_lnum': 3, 'end_col': 999, 'type': 'comment'})
804 let expect_short = #{type_bufnr: 0, col: 2, length: 1, type: 'comment', start: 1, end: 1, id: 0}
806 let expect2 = #{type_bufnr: 0, col: 4, length: 4, type: 'comment', start: 1, end: 0, id: 0}
810 let expect2 = #{type_bufnr: 0, col: 1, length: 6, type: 'comment', start: 1, end: 0, id: 0}
816 let expect3 = #{type_bufnr: 0, col: 1, length: 6, type: 'comment', start: 0, end: 0, id: 0}
818 let expect4 = #{type_bufnr: 0, col: 1, length: 4, type: 'comment', start: 0, end: 1, id: 0}
828 let expect2 = #{type_bufnr: 0, col: 4, length: 4, type: 'comment', start: 1, end: 0, id: 0}
832 let expect3 = #{type_bufnr: 0, col: 1, length: 9, type: 'comment', start: 0, end: 0, id: 0}
836 call prop_type_delete('comment')
840 call prop_type_add('comment', {'highlight': 'Directory'})
845 call prop_add(1, 1, {'end_col': 3, 'type': 'comment'})
853 call prop_add(2, 1, {'type': 'comment'})
854 call prop_add(222, 1, {'type': 'comment'})
856 call prop_remove({'type': 'comment'})
864 call prop_add(2, 1, {'type': 'comment'})
870 call prop_type_delete('comment')
921 call prop_type_add('comment', {'highlight': 'Directory'})
926 call prop_add(1, 3, {'end_col': 5, 'type': 'comment'})
927 let expected = [#{type_bufnr: 0, col: 3, length: 2, id: 0, type: 'comment', start: 1, end: 1}]
970 call prop_add(1, 12, {'length': 3, 'type': 'comment'})
971 let expected = [#{type_bufnr: 0, col: 12, length: 3, id: 0, type: 'comment', start: 1, end: 1} ]
984 call prop_add(1, 12, {'length': 3, 'type': 'comment'})
985 let expected = [#{type_bufnr: 0, col: 12, length: 3, id: 0, type: 'comment', start: 1, end: 1} ]
1001 call prop_type_delete('comment')
1006 call prop_type_add('comment', {'highlight': 'Directory'})
1010 call prop_add(1, 3, {'type': 'comment'})
1011 let expected = [#{type_bufnr: 0, col: 3, length: 0, id: 0, type: 'comment', start: 1, end: 1} ]
1016 let expected = [#{type_bufnr: 0, col: 2, length: 0, id: 0, type: 'comment', start: 1, end: 1} ]
1021 let expected = [#{type_bufnr: 0, col: 2, length: 0, id: 0, type: 'comment', start: 1, end: 1} ]
1026 let expected = [#{type_bufnr: 0, col: 1, length: 0, id: 0, type: 'comment', start: 1, end: 1} ]
1030 call prop_type_delete('comment')
1045 \ .. "'// comment with error in it',"
1215 call prop_type_add('comment', {'highlight': 'Search'})
1217 call prop_add(1, 1, {'type': 'comment'})
1219 call prop_type_delete('comment')