mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-15 23:39:27 +08:00
8 lines
315 B
Plaintext
8 lines
315 B
Plaintext
|
Execute ( SpaceVim lua layer: lang#java ):
|
||
|
if has('nvim-0.5.0') || has('+lua')
|
||
|
lua require('spacevim.layer.lang.java').set_variable({['format_on_save'] = false})
|
||
|
lua format_on_save = require('spacevim.layer.lang.java').get_variable()
|
||
|
AssertEqual cmp.luaeval('format_on_save'), v:false
|
||
|
endif
|
||
|
|