aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_cpp.lua
diff options
context:
space:
mode:
authorAdam <adamdharrison@gmail.com>2021-11-23 16:06:36 -0500
committerGitHub <noreply@github.com>2021-11-23 16:06:36 -0500
commit3e7571030df2404873c8320ff976fb3fb41448c9 (patch)
treedb1895d2475549f3524d375cfe6eb758da27ca3c /plugins/language_cpp.lua
parent5eb84c6882a882db9d9903dbd2d4ca5a96f76778 (diff)
parent330da1ed0bdd316399ad5cdc00c006a98394bd6a (diff)
downloadlite-xl-plugins-3e7571030df2404873c8320ff976fb3fb41448c9.tar.gz
lite-xl-plugins-3e7571030df2404873c8320ff976fb3fb41448c9.zip
Merge pull request #92 from Guldoman/named_languages
Add names to language plugins
Diffstat (limited to 'plugins/language_cpp.lua')
-rw-r--r--plugins/language_cpp.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/language_cpp.lua b/plugins/language_cpp.lua
index f229134..8cd36a4 100644
--- a/plugins/language_cpp.lua
+++ b/plugins/language_cpp.lua
@@ -4,6 +4,7 @@ pcall(require, "plugins.language_c")
local syntax = require "core.syntax"
syntax.add {
+ name = "C++",
files = {
"%.h$", "%.inl$", "%.cpp$", "%.cc$", "%.C$", "%.cxx$",
"%.c++$", "%.hh$", "%.H$", "%.hxx$", "%.hpp$", "%.h++$"