{"name":"Less History File","scopeName":"text.lesshst","patterns":[{"include":"#main"}],"repository":{"fileHeader":{"name":"meta.file.lesshst","begin":"^(\\.)less-history-file(:)","end":"(?=^\\.)","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"keyword.control.directive.lesshst"},"1":{"name":"punctuation.definition.directive.lesshst"},"2":{"patterns":[{"include":"etc#colon"}]}}},"main":{"patterns":[{"include":"#fileHeader"},{"include":"#searches"},{"include":"#shellCommands"},{"include":"#marks"}]},"mark":{"name":"meta.mark.lesshst","contentName":"string.unquoted.filename.lesshst","begin":"^(m)\\s+(\\S+)\\s+(\\d+)\\s+(\\d+)[ \\t]*","end":"$","beginCaptures":{"1":{"name":"storage.type.mark.lesshst"},"2":{"name":"entity.name.mark.lesshst"},"3":{"name":"constant.numeric.integer.scroll-offset.lesshst"},"4":{"name":"constant.numeric.integer.string-position.lesshst"}}},"marks":{"name":"meta.section.marks.lesshst","begin":"^(\\.)mark$","end":"(?=^\\.)","patterns":[{"include":"#mark"}],"beginCaptures":{"0":{"name":"keyword.control.directive.lesshst"},"1":{"name":"punctuation.definition.directive.lesshst"}}},"search":{"name":"meta.history-item.lesshst","contentName":"string.regexp.search-text.lesshst","begin":"^\"","end":"$","patterns":[{"include":"source.regexp.posix"}],"beginCaptures":{"0":{"name":"punctuation.definition.history-item.lesshst"}}},"searches":{"name":"meta.section.searches.lesshst","begin":"^(\\.)search$","end":"(?=^\\.)","patterns":[{"include":"#search"}],"beginCaptures":{"0":{"name":"keyword.control.directive.lesshst"},"1":{"name":"punctuation.definition.directive.lesshst"}}},"shellCommand":{"name":"meta.shell-command.lesshst","match":"^(\")(.*)","captures":{"1":{"name":"punctuation.definition.history-item.lesshst"},"2":{"name":"source.embedded.shell","patterns":[{"include":"source.shell"}]}}},"shellCommands":{"name":"meta.section.shell-commands.lesshst","begin":"^(\\.)shell$","end":"(?=^\\.)","patterns":[{"include":"#shellCommand"}],"beginCaptures":{"0":{"name":"keyword.control.directive.lesshst"},"1":{"name":"punctuation.definition.directive.lesshst"}}}}}
