aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_cpp.lua
diff options
context:
space:
mode:
authorGuldoman <giulio.lettieri@gmail.com>2021-11-21 03:36:02 +0100
committerGuldoman <giulio.lettieri@gmail.com>2021-11-21 03:36:02 +0100
commit330da1ed0bdd316399ad5cdc00c006a98394bd6a (patch)
tree69b8d5596ff97721db5789d073ffdedfca0ceb58 /plugins/language_cpp.lua
parentbc0a289a79294445de9b0001bdaada93d801dadd (diff)
downloadlite-xl-plugins-330da1ed0bdd316399ad5cdc00c006a98394bd6a.tar.gz
lite-xl-plugins-330da1ed0bdd316399ad5cdc00c006a98394bd6a.zip
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++$"