diff --git a/TODO.md b/TODO.md index 046dfd1..f1e4912 100644 --- a/TODO.md +++ b/TODO.md @@ -4,6 +4,7 @@ - [ ] **prepare for official org initial release** - [ ] Bring at least a few scaffolded modules to functionality - [ ] Automate flake creation through GH Actions +- [ ] load commands on filetype/workspace load - [ ] Fix rudimentary commands ported over to bring to base functionality - [ ] Once at base functionality, clean up and refactor to bring to a `0.1.0` release - [ ] Allow optional choice of telescope or not @@ -16,6 +17,8 @@ - [ ] Update `CHANGELOG.md` and `README.md` as necessary - [ ] find out reason for delay upon save `(11/24 21:31)` +--- + ## For next version - [ ] [cmd] Make the following subcommands functional: @@ -34,6 +37,9 @@ - [ ] Concaelment and syntax highlighting like `render-markdown` - [ ] `tag` support and `todo` support `treesitter` queries - [ ] `timestamp` insertion, add autoinsert/conceal timestamp functionality `?` +- [ ] natural language date parsing for todos + +- - - ## Todo specifications @@ -57,13 +63,27 @@ - [ ] `debug`: for development purpose - [ ] `encrypt`: encrypt (lock/unlock?) a workspace/file +--- + #### Maybes - [ ] `var`: var functionality `?` +- [ ] `clipboard`: interaction `?` + +- [ ] `refactor` like functionality + +--- ### LSP - [ ] `textDocument/inalyHint`: inlay hints +- [ ] `textDocument/definition`: definition + +- [ ] `textDocument/rename`: rename +- [ ] `textDocument/hover`: hover +- [ ] `textDocument/completion`: completion +- [ ] `textDocument/codeAction`: code action +- [ ] `textDocument/documentSymbol`: document symbol ### Modules @@ -84,6 +104,33 @@ - [ ] `tag` queries - [ ] `todo` queries - [ ] `code` queries +- [ ] `url` queries + +- [ ] `illuminate` like highlighting +- [ ] `conceal` functionality + +```lua +-- enable on setup +require("nvim-treesitter.configs").setup({ + conceal = { + enable = true, + ensure_installed = { + "markdown", "markdown_inline" + }, + highlight = { + enable = true, + additional_vim_regex_highlighting = true + }, + conceal_characters = { + ["*"] = "•", -- * list chars + ["[ ]"] = "□" -- todo unchecked + "[x]"] = "✓" + } + + } +}) + +``` ### External @@ -108,3 +155,4 @@ - [ ] `...` - [ ] Scope indentation? +- [ ] `.wd` [word] syntax support/hl diff --git a/queries/md/hl/tag.scm b/queries/md/hl/tag.scm new file mode 100644 index 0000000..ba0c2d7 --- /dev/null +++ b/queries/md/hl/tag.scm @@ -0,0 +1,10 @@ +;; highlight headings +(heading) @heading + +;; highlight links +(link) @url + +;; TODO: highlight tags +(tag) @tag + +