https://github.com/dotmpe/vim-lest-txt-syntax
A format for plain-text files to hold lists of items containing columns and fields, inspired by todo.txt
https://github.com/dotmpe/vim-lest-txt-syntax
Last synced: 3 months ago
JSON representation
A format for plain-text files to hold lists of items containing columns and fields, inspired by todo.txt
- Host: GitHub
- URL: https://github.com/dotmpe/vim-lest-txt-syntax
- Owner: dotmpe
- Created: 2022-08-07T15:48:58.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-28T11:39:17.000Z (over 2 years ago)
- Last Synced: 2025-02-22T12:24:41.273Z (over 1 year ago)
- Language: Vim Script
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.rst
Awesome Lists containing this project
README
vim-lest.txt
=============
A syntax (color highlighting) script for a custom, generic text/line-based list
format inspired by TODO.txt. Highlighted parts include:
- Different types of line based, \*nix style comments and with contained
highlight groups as well.
- Separate number number "spec" column group left and free-form text fields to
the right, starting with key: label text fields.
Also tags from TODO.txt:
- () to mark numeric or alphabetically ordered classifications or rankings
- @ to 'tag' entry using another, global Id
- + to tell the entry belongs to a project
- : to add meta properties
- #
- <>
- `...`
- ``...``
- ```...```
- '...'
- ''...''
- '''...'''
- "..."
- ""...""
- """..."""
Objectives
----------
- probably split line into record part (space delimited columns),
followed by variable width text part.
First only contains numerical characters, spaces and some characters
commonly used in numeral notations (not hexadecimals |--| actual roman
numeral characters) and ',.-+'
First characters after record part could indicate some sort of (non-numerica)
record key.
- supports comments, distinguishes preprocessing directives, and shows
line-continuations.
- allows for preformatted parts too? (ie. after certain continuations)
- can use comments for file and block-level metadata
Status
------
[2022-08-10] Initial Vim syntax file.
..