mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-28 03:10:04 +08:00
39 lines
669 B
Lua
39 lines
669 B
Lua
--=============================================================================
|
|
-- java.lua --- Java layer
|
|
-- Copyright (c) 2016-2023 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)
|
|
if var.format_on_save ~= nil then
|
|
format_on_save = var.format_on_save
|
|
end
|
|
end
|
|
|
|
|
|
function M.get_variable()
|
|
return {
|
|
format_on_save = format_on_save
|
|
}
|
|
end
|
|
|
|
|
|
return M
|