summaryrefslogtreecommitdiff
path: root/src/dged/syntax.c
AgeCommit message (Collapse)Author
2025-11-01More lsp supportAlbert Cervin
This makes the LSP support complete for now: - Completion - Diagnostics - Goto implementation/declaration - Rename - Documentation - Find references
2025-10-17Make it work again on OpenBSDopenbsd-fixesAlbert Cervin
- Some unused variables - Fix zero window size under lldb - Make instantiation of languages more robust
2024-09-12WIP LSP clientAlbert Cervin
This contains the start of an LSP client. Nothing (except starting the LSP server) works at the moment and the feature is disabled by default.
2024-09-11Overhaul unicode parsingAlbert Cervin
It now instead iterates the actual unicode code points. This is better than what it was previously doing but it is still not entirely correct w.r.t to unicode sequences. This handling of unicode code points does however make it slightly easier to handle UTF-16 if needed in the future. This also adds some long needed tests for buffer methods.
2024-05-06Fix slow buffer pasteAlbert Cervin
Was caused by updating all buffer hooks on every char insert. Particularily, the syntax update takes a little bit too long to call on every char. Now the keyboard parsing routine compresses all consecutive self-inserting chars into one "key press". Also fix some small issues with timers and update them with a min and max.
2024-03-18Fix clang buildAlbert Cervin
2024-03-18More work on languages/syntaxAlbert Cervin
Implement another predicate and add javascript.
2024-03-07Implement timers properlyAlbert Cervin
The timers shown with `M-x timers` are now actual timings.
2024-03-05Make syntax path a proper search pathAlbert Cervin
Can be set with the $TREESITTER_GRAMMARS variable, separated by ':'
2024-02-18Add qml lang and fix some regexesAlbert Cervin
2024-02-18Fix bytes vs char offsetAlbert Cervin
Tree-sitter uses position in byte coordinates, despite what it seems to say in the docs.
2024-02-01Add git commit syntaxAlbert Cervin
2024-01-31Fix syntax predicate creationAlbert Cervin
It is now created when parsing the queries. Also, make completion popup directly.
2024-01-31Finish lang settings reworkAlbert Cervin
2024-01-31Handle empty buffers in highlightingAlbert Cervin
2024-01-30Syntax highlight is a goAlbert Cervin