1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-31 17:00:04 +08:00
SpaceVim/lua/spacevim/layer/lang/java.lua

39 lines
669 B
Lua
Raw Normal View History

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)
2022-09-10 20:40:08 +08:00
if var.format_on_save ~= nil then
format_on_save = var.format_on_save
end
2022-06-18 22:57:23 +08:00
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