aboutsummaryrefslogtreecommitdiff
path: root/data/plugins/language_cpp.lua
AgeCommit message (Collapse)Author
2024-08-09Improvements to c/c++ language plugins (#128)Jefferson González
* Match enum names same as with structs and unions * Match single line type declarations to better match code like: ```c custome_type* function_name (type *param_name) { /*...*/ } ``` * Added matching of single line param declaration without modifiers * Allow spaces between function name and parameters list * Also distinguish upper case constants when used as function calls * Added matching of generic type declarations
2024-06-28Added custom symbols to language c and cpp (#116)Jefferson González
This allows matching symbols like #include or #ifndef so plugins like autocomplete can provide a list of the available keywords.
2024-06-21Add support for binary integer literals. (#1819)fgelm01
2024-06-21language_cpp: backport number highlighting from c (#1818)Takase
2024-06-12Handle static constexpr in language_cpp lite-xl/lite-xl#1806Filipp Gelman
2024-06-11Change co_wait to co_await in language_cpp (#1800)fgelm01
The C++20 keyword is spelled `co_await`.
2024-04-18Added Arduino syntax highlighting support alongside C++. (#1767)PerilousBooklet
2023-09-08Fixed C++14 digit separators (#1593)Robert Hildebrandt
2023-08-10Highlight CUDA source code the same as C++ (#15)RootCellar
2022-07-13[chore]: Delete useless $NCarrezDev
follow up on Guldoman's comment
2022-07-06[chore]: Update syntaxNCarrezDev
Harmonizing the syntax files Now inline comment are a single string instead of a table of strings. -(language_c): Removed whitespaces breaking indent -(language_html): Removed trailing whitespace
2022-05-31plugins: dropped --lite-xl version tagjgmdev
2022-04-03Bumping version numbers.Adam Harrison
2022-03-29language_c/cpp: fixes and improvementsjgmdev
* support colorization of function and variables type declarations * support the macro concatenation operator ## * support what seems to be new cpp number notation format #'### * improved uppercase constants matching
2022-03-11language_cpp: improvements and fixesjgmdev
* Removed pcall(require, "plugins.language_c") since it doesn't works as it seems to have been intended. * Removed duplicate keywords * Added support for magic and uppercase constants. * Basically merged most changes from the lite-xl-plugins repo.
2021-12-26fallback to toggle-line-comment and vice versa if neededtakase1121
2021-12-25add toggle-block-commenttakase1121
2021-12-15Set `void` to `keyword2` in `language_c` and `language_cpp` pluginsGuldoman
Move `void` to the same syntax type used by other data types.
2021-11-21Add names to language pluginsGuldoman
2021-08-172.0 changelog and modversion updates.Adam Harrison
2021-07-19Add language_cpp pluginsFrancesco Abbate
Brought form the 1.16.12 release. It provides support for C++ using multi-part syntax patterns. Take the priority over C language plugins for header files.