diff options
author | lordadamson <43860544+lordadamson@users.noreply.github.com> | 2020-04-25 21:38:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 21:38:23 +0200 |
commit | c1d14ec0b01f1f86bc77aa6526997d92a77ac355 (patch) | |
tree | c3f435a9ea9cf0ec6037d44330e583a1b863cd27 /plugins/language_cpp.lua | |
parent | f2d09bda1b2228a067667989246dfc5aa0b5b4d2 (diff) | |
download | lite-xl-plugins-c1d14ec0b01f1f86bc77aa6526997d92a77ac355.tar.gz lite-xl-plugins-c1d14ec0b01f1f86bc77aa6526997d92a77ac355.zip |
Made sure that the cpp plugin is loaded after the c plugin
The plugin loaded last takes precedence. So that would make sure the .h files would be highlighted as C++ files.
Diffstat (limited to 'plugins/language_cpp.lua')
-rw-r--r-- | plugins/language_cpp.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/language_cpp.lua b/plugins/language_cpp.lua index b005b14..2b2fce5 100644 --- a/plugins/language_cpp.lua +++ b/plugins/language_cpp.lua @@ -1,3 +1,5 @@ +pcall(require, "plugins.language_c") + local syntax = require "core.syntax" syntax.add { |