2022-06-18 22:57:23 +08:00
|
|
|
--=============================================================================
|
|
|
|
-- java.lua --- Java layer
|
|
|
|
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
|
|
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
|
|
|
-- URL: https://spacevim.org
|
|
|
|
-- License: GPLv3
|
|
|
|
--=============================================================================
|
|
|
|
|
|
|
|
local M = {}
|
|
|
|
|
|
|
|
local format_on_save = true
|
|
|
|
|
|
|
|
|
|
|
|
function M.plugins()
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
function M.config()
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
function M.set_variable(var)
|
|
|
|
format_on_save = var.format_on_save or format_on_save
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
function M.get_variable()
|
|
|
|
return {
|
2022-09-10 19:58:54 +08:00
|
|
|
format_on_save = format_on_save
|
2022-06-18 22:57:23 +08:00
|
|
|
}
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
return M
|