refactor: auto-generate language configuration (#1584)

Refactor the monolithic `lvim.lang` design into a more modular approach.

IMPORTANT: run `:LvimUpdate` in order to generate the new ftplugin template files.
This commit is contained in:
kylo252 2021-10-03 16:13:46 +02:00 committed by GitHub
parent 3e1cd1ec23
commit d01ba08eae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
98 changed files with 1127 additions and 1567 deletions

View file

@ -8,6 +8,7 @@ function Log:add_entry(msg, level)
if self.__handle then
-- plenary uses lower-case log levels
self.__handle[level:lower()](msg)
return
end
local status_ok, plenary = pcall(require, "plenary")
if status_ok then