mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 07:10:06 +08:00
chore(copyright): update copyright
This commit is contained in:
parent
9b33d5b909
commit
de3ec27729
@ -1,16 +1,16 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- init.lua --- demo
|
-- init.lua --- demo
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
--=============================================================================
|
--=============================================================================
|
||||||
|
|
||||||
local layer = require('spacevim.layer')
|
local layer = require('spacevim.layer')
|
||||||
local opt = require('spacevim.opt')
|
local opt = require('spacevim.opt')
|
||||||
|
|
||||||
opt.colorscheme = 'one'
|
opt.colorscheme = 'one'
|
||||||
|
|
||||||
layer.load('lang#java', {
|
layer.load('lang#java', {
|
||||||
format_on_save = false
|
format_on_save = false
|
||||||
})
|
})
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" version.vim --- Version checking API
|
" version.vim --- Version checking API
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" django.vim --- django project support in SpaceVim
|
" django.vim --- django project support in SpaceVim
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" autoit.vim --- autoit layer
|
" autoit.vim --- autoit layer
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" e.vim --- E language layer
|
" e.vim --- E language layer
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" fennel.vim --- fennel language support
|
" fennel.vim --- fennel language support
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" jr.vim --- lang#jr layer
|
" jr.vim --- lang#jr layer
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" jsonnet.vim --- jsonnet support for vim
|
" jsonnet.vim --- jsonnet support for vim
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" liquid.vim --- Liquid template language support for SpaceVim
|
" liquid.vim --- Liquid template language support for SpaceVim
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" octave.vim --- lang#octave layer
|
" octave.vim --- lang#octave layer
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" org.vim --- lang#org for SpaceVim
|
" org.vim --- lang#org for SpaceVim
|
||||||
" Copyright (c) 2016-2020 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" postscript.vim --- PostScript language layer
|
" postscript.vim --- PostScript language layer
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" rst.vim --- rst language layer
|
" rst.vim --- rst language layer
|
||||||
" Copyright (c) 2016-2017 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" splus.vim --- S language layer
|
" splus.vim --- S language layer
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" smalltalk.vim --- SmallTalk language layer
|
" smalltalk.vim --- SmallTalk language layer
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" splus.vim --- S-Plus language layer
|
" splus.vim --- S-Plus language layer
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" teal.vim --- teal language support for SpaceVim
|
" teal.vim --- teal language support for SpaceVim
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" verilog.vim --- Verilog/SystemVerilog support
|
" verilog.vim --- Verilog/SystemVerilog support
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" yang.vim --- yang support for vim
|
" yang.vim --- yang support for vim
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" ssh.vim --- ssh layer for spacevim
|
" ssh.vim --- ssh layer for spacevim
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" telescope.vim --- telescope support for spacevim
|
" telescope.vim --- telescope support for spacevim
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" treesitter.vim --- treesitter layer for SpaceVim
|
" treesitter.vim --- treesitter layer for SpaceVim
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" zettelkasten.vim --- zettelkasten layer for SpaceVim
|
" zettelkasten.vim --- zettelkasten layer for SpaceVim
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" dracula.vim --- dracula theme for spacevim
|
" dracula.vim --- dracula theme for spacevim
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" autosave.vim --- autosave plugin for spacevim
|
" autosave.vim --- autosave plugin for spacevim
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" ctrlg.vim --- display info via Ctrl-g
|
" ctrlg.vim --- display info via Ctrl-g
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" helpgrep.vim --- asynchronous helpgrep
|
" helpgrep.vim --- asynchronous helpgrep
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
2
bundle/cscope.vim/autoload/cscope.vim
vendored
2
bundle/cscope.vim/autoload/cscope.vim
vendored
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" cscope.vim --- cscope plugin
|
" cscope.vim --- cscope plugin
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
2
bundle/cscope.vim/plugin/cscope.vim
vendored
2
bundle/cscope.vim/plugin/cscope.vim
vendored
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" cscope.vim --- cscope layer plugin
|
" cscope.vim --- cscope layer plugin
|
||||||
" Copyright (c) 2016-2017 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
2
bundle/git.vim/autoload/git/branch.vim
vendored
2
bundle/git.vim/autoload/git/branch.vim
vendored
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" branch.vim --- branch action of git.vim
|
" branch.vim --- branch action of git.vim
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" utils.vim --- utils function for neoformat
|
" utils.vim --- utils function for neoformat
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
2
bundle/vim-chat/autoload/chat.vim
vendored
2
bundle/vim-chat/autoload/chat.vim
vendored
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" chatting.vim --- chatting client
|
" chatting.vim --- chatting client
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
2
bundle/vim-chat/autoload/chat/gitter.vim
vendored
2
bundle/vim-chat/autoload/chat/gitter.vim
vendored
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" gitter.vim --- a gitter client
|
" gitter.vim --- a gitter client
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
2
bundle/vim-chat/autoload/chat/irc.vim
vendored
2
bundle/vim-chat/autoload/chat/irc.vim
vendored
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" irc.vim --- irc protocol for vim-chat
|
" irc.vim --- irc protocol for vim-chat
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
2
bundle/vim-chat/autoload/chat/logger.vim
vendored
2
bundle/vim-chat/autoload/chat/logger.vim
vendored
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" logger.vim --- logger of vim-chat
|
" logger.vim --- logger of vim-chat
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
2
bundle/vim-chat/autoload/chat/notify.vim
vendored
2
bundle/vim-chat/autoload/chat/notify.vim
vendored
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" notify.vim --- notification for chatting
|
" notify.vim --- notification for chatting
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
2
bundle/vim-chat/autoload/chat/windows.vim
vendored
2
bundle/vim-chat/autoload/chat/windows.vim
vendored
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" windows.vim --- chatting message windows
|
" windows.vim --- chatting message windows
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
2
bundle/vim-cheat/autoload/cheat.vim
vendored
2
bundle/vim-cheat/autoload/cheat.vim
vendored
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" cheat.vim --- cheat plugin
|
" cheat.vim --- cheat plugin
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
2
bundle/vim-cheat/plugin/cheat.vim
vendored
2
bundle/vim-cheat/plugin/cheat.vim
vendored
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" cheat.vim --- cheat plugin
|
" cheat.vim --- cheat plugin
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
2
bundle/vim-clipboard/autoload/clipboard.vim
vendored
2
bundle/vim-clipboard/autoload/clipboard.vim
vendored
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" clipboard.vim --- clipboard for neovim and vim8
|
" clipboard.vim --- clipboard for neovim and vim8
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
2
bundle/vim-cmake/plugin/cmake.vim
vendored
2
bundle/vim-cmake/plugin/cmake.vim
vendored
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" cmake.vim --- cmake plugin
|
" cmake.vim --- cmake plugin
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
2
bundle/vim-rescript/indent/rescript.vim
vendored
2
bundle/vim-rescript/indent/rescript.vim
vendored
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" rescript.vim --- ReScript indent file
|
" rescript.vim --- ReScript indent file
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
2
bundle/vim-toml/autoload/toml.vim
vendored
2
bundle/vim-toml/autoload/toml.vim
vendored
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" toml.vim --- toml autoload plugin
|
" toml.vim --- toml autoload plugin
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- api.lua --- lua api plugin
|
-- api.lua --- lua api plugin
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- string.lua --- spacevim data#string api
|
-- string.lua --- spacevim data#string api
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- logger.lua --- logger api implemented in lua
|
-- logger.lua --- logger api implemented in lua
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- messletters.lua --- messletters api
|
-- messletters.lua --- messletters api
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- prompt.lua --- prompt api for spacevim
|
-- prompt.lua --- prompt api for spacevim
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- buffer.lua --- public buffer apis
|
-- buffer.lua --- public buffer apis
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- compatible.lua --- compatible api between neovim/vim
|
-- compatible.lua --- compatible api between neovim/vim
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,119 +1,119 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- regex.lua --- use vim regex in lua
|
-- regex.lua --- use vim regex in lua
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
--=============================================================================
|
--=============================================================================
|
||||||
|
|
||||||
|
|
||||||
-- in viml you can use =~/=~#/=~?
|
-- in viml you can use =~/=~#/=~?
|
||||||
|
|
||||||
|
|
||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
M.__cmp = require('spacevim.api').import('vim.compatible')
|
M.__cmp = require('spacevim.api').import('vim.compatible')
|
||||||
|
|
||||||
function M.equal(a, b, ...)
|
function M.equal(a, b, ...)
|
||||||
local argv = {...}
|
local argv = {...}
|
||||||
local ignore = argv[1] or false
|
local ignore = argv[1] or false
|
||||||
if M.__cmp.fn.matchstr(a, b) == '' then return false else return true end
|
if M.__cmp.fn.matchstr(a, b) == '' then return false else return true end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
function M.parser(regex, is_perl)
|
function M.parser(regex, is_perl)
|
||||||
local vim_regex = regex
|
local vim_regex = regex
|
||||||
local substitute = vim.fn.substitute
|
local substitute = vim.fn.substitute
|
||||||
-- matchadd function needs \ before [%@&]
|
-- matchadd function needs \ before [%@&]
|
||||||
vim_regex = substitute(vim_regex, [[\([%@&]\)]], [[\\\1]], 'g')
|
vim_regex = substitute(vim_regex, [[\([%@&]\)]], [[\\\1]], 'g')
|
||||||
|
|
||||||
-- non-greedy pattern
|
-- non-greedy pattern
|
||||||
-- replace from what to what?
|
-- replace from what to what?
|
||||||
-- let vim_regex = substitute(vim_regex, '(?<!\\)\*\?', '{-}', 'g')
|
-- let vim_regex = substitute(vim_regex, '(?<!\\)\*\?', '{-}', 'g')
|
||||||
-- let vim_regex = substitute(vim_regex, '(?<!\\)\+\?', '{-1,}', 'g')
|
-- let vim_regex = substitute(vim_regex, '(?<!\\)\+\?', '{-1,}', 'g')
|
||||||
-- let vim_regex = substitute(vim_regex, '(?<!\\)\?\?', '{-0,1}', 'g')
|
-- let vim_regex = substitute(vim_regex, '(?<!\\)\?\?', '{-0,1}', 'g')
|
||||||
-- let vim_regex = substitute(vim_regex, '(?<!\\)\{(.*?)\}\?', '{-\1}', 'g')
|
-- let vim_regex = substitute(vim_regex, '(?<!\\)\{(.*?)\}\?', '{-\1}', 'g')
|
||||||
|
|
||||||
if is_perl then
|
if is_perl then
|
||||||
-- *+, ++, ?+, {m,n}+ => *, +, ?, {m,n}
|
-- *+, ++, ?+, {m,n}+ => *, +, ?, {m,n}
|
||||||
vim_regex = substitute(vim_regex, [[(?<!\\)([*+?}])\+]], [[\1]], 'g')
|
vim_regex = substitute(vim_regex, [[(?<!\\)([*+?}])\+]], [[\1]], 'g')
|
||||||
-- remove (?#....)
|
-- remove (?#....)
|
||||||
vim_regex = substitute(vim_regex, [[\(\?#.*?\)]], '', 'g')
|
vim_regex = substitute(vim_regex, [[\(\?#.*?\)]], '', 'g')
|
||||||
-- (?=atom) => atom\@=
|
-- (?=atom) => atom\@=
|
||||||
vim_regex = substitute(vim_regex, [[\(\?=(.+?)\)]], '(\1)@=', 'g')
|
vim_regex = substitute(vim_regex, [[\(\?=(.+?)\)]], '(\1)@=', 'g')
|
||||||
-- (?!atom) => atom\@!
|
-- (?!atom) => atom\@!
|
||||||
vim_regex = substitute(vim_regex, [[\(\?!(.+?)\)]], '(\1)@!', 'g')
|
vim_regex = substitute(vim_regex, [[\(\?!(.+?)\)]], '(\1)@!', 'g')
|
||||||
-- (?<=atom) => atom\@<=
|
-- (?<=atom) => atom\@<=
|
||||||
vim_regex = substitute(vim_regex, [[\(\?<=(.+?)\)]], [[(\1)@<=]], 'g')
|
vim_regex = substitute(vim_regex, [[\(\?<=(.+?)\)]], [[(\1)@<=]], 'g')
|
||||||
-- (?<!atom) => atom\@<!
|
-- (?<!atom) => atom\@<!
|
||||||
vim_regex = substitute(vim_regex, [[\(\?<!(.+?)\)]], [[(\1)@<!]], 'g')
|
vim_regex = substitute(vim_regex, [[\(\?<!(.+?)\)]], [[(\1)@<!]], 'g')
|
||||||
-- (?>atom) => atom\@>
|
-- (?>atom) => atom\@>
|
||||||
vim_regex = substitute(vim_regex, [[\(\?>(.+?)\)]], [[(\1)@>]], 'g')
|
vim_regex = substitute(vim_regex, [[\(\?>(.+?)\)]], [[(\1)@>]], 'g')
|
||||||
end
|
end
|
||||||
|
|
||||||
-- this won't hurt although they are not the same
|
-- this won't hurt although they are not the same
|
||||||
vim_regex = substitute(vim_regex, [[\\A]], '^', 'g')
|
vim_regex = substitute(vim_regex, [[\\A]], '^', 'g')
|
||||||
vim_regex = substitute(vim_regex, [[\\z]], '$', 'g')
|
vim_regex = substitute(vim_regex, [[\\z]], '$', 'g')
|
||||||
vim_regex = substitute(vim_regex, [[\\B]], '', 'g')
|
vim_regex = substitute(vim_regex, [[\\B]], '', 'g')
|
||||||
|
|
||||||
-- word boundary
|
-- word boundary
|
||||||
-- \bword\b => <word>
|
-- \bword\b => <word>
|
||||||
vim_regex = substitute(vim_regex, [[\\b\(\w\+\)\\b]], [[<\1>]], 'g')
|
vim_regex = substitute(vim_regex, [[\\b\(\w\+\)\\b]], [[<\1>]], 'g')
|
||||||
|
|
||||||
-- right word boundary
|
-- right word boundary
|
||||||
-- \bword => \<word
|
-- \bword => \<word
|
||||||
vim_regex = substitute(vim_regex, [[\\b\(\w\+\)]], [[<\1]], 'g')
|
vim_regex = substitute(vim_regex, [[\\b\(\w\+\)]], [[<\1]], 'g')
|
||||||
|
|
||||||
-- left word boundary
|
-- left word boundary
|
||||||
-- word\b => word\>
|
-- word\b => word\>
|
||||||
vim_regex = substitute(vim_regex, [[\(\w\+\)\\b]], [[\1>]], 'g')
|
vim_regex = substitute(vim_regex, [[\(\w\+\)\\b]], [[\1>]], 'g')
|
||||||
|
|
||||||
-- case-insensitive
|
-- case-insensitive
|
||||||
-- (?i)abc => \cabc
|
-- (?i)abc => \cabc
|
||||||
-- (?-i)abc => \Cabc
|
-- (?-i)abc => \Cabc
|
||||||
vim_regex = substitute(vim_regex, '(?i)', [[\\c]], 'g')
|
vim_regex = substitute(vim_regex, '(?i)', [[\\c]], 'g')
|
||||||
vim_regex = substitute(vim_regex, '(?-i)', [[\\C]], 'g')
|
vim_regex = substitute(vim_regex, '(?-i)', [[\\C]], 'g')
|
||||||
|
|
||||||
-- (?P<name>exp) => (exp)
|
-- (?P<name>exp) => (exp)
|
||||||
vim_regex = substitute(vim_regex, [[(?P<\w\+>\([^)]\+\))]], [[(\1)]], 'g')
|
vim_regex = substitute(vim_regex, [[(?P<\w\+>\([^)]\+\))]], [[(\1)]], 'g')
|
||||||
|
|
||||||
-- (?:exp) => %(exp)
|
-- (?:exp) => %(exp)
|
||||||
vim_regex = substitute(vim_regex, [[(?:\([^)]\+\))]], [[%(\1)]], 'g')
|
vim_regex = substitute(vim_regex, [[(?:\([^)]\+\))]], [[%(\1)]], 'g')
|
||||||
|
|
||||||
-- \a bell (\x07)
|
-- \a bell (\x07)
|
||||||
-- \f form feed (\x0C)
|
-- \f form feed (\x0C)
|
||||||
-- \v vertical tab (\x0B)
|
-- \v vertical tab (\x0B)
|
||||||
vim_regex = substitute(vim_regex, [[\\a]], '%x07', 'g')
|
vim_regex = substitute(vim_regex, [[\\a]], '%x07', 'g')
|
||||||
vim_regex = substitute(vim_regex, [[\\f]], '%x0C', 'g')
|
vim_regex = substitute(vim_regex, [[\\f]], '%x0C', 'g')
|
||||||
vim_regex = substitute(vim_regex, [[\\v]], '%x0B', 'g')
|
vim_regex = substitute(vim_regex, [[\\v]], '%x0B', 'g')
|
||||||
|
|
||||||
-- \123 octal character code (up to three digits) (when enabled)
|
-- \123 octal character code (up to three digits) (when enabled)
|
||||||
-- \x7F hex character code (exactly two digits)
|
-- \x7F hex character code (exactly two digits)
|
||||||
-- let vim_regex = substitute(vim_regex, '\\(x[0-9A-Fa-f][0-9A-Fa-f])', '%\1', 'g')
|
-- let vim_regex = substitute(vim_regex, '\\(x[0-9A-Fa-f][0-9A-Fa-f])', '%\1', 'g')
|
||||||
-- \x{10FFFF} any hex character code corresponding to a Unicode code point
|
-- \x{10FFFF} any hex character code corresponding to a Unicode code point
|
||||||
-- \u007F hex character code (exactly four digits)
|
-- \u007F hex character code (exactly four digits)
|
||||||
-- \u{7F} any hex character code corresponding to a Unicode code point
|
-- \u{7F} any hex character code corresponding to a Unicode code point
|
||||||
-- \U0000007F hex character code (exactly eight digits)
|
-- \U0000007F hex character code (exactly eight digits)
|
||||||
-- \U{7F} any hex character code corresponding to a Unicode code point
|
-- \U{7F} any hex character code corresponding to a Unicode code point
|
||||||
-- let vim_regex = substitute(vim_regex, '\\([uU])', '%\1', 'g')
|
-- let vim_regex = substitute(vim_regex, '\\([uU])', '%\1', 'g')
|
||||||
|
|
||||||
vim_regex = substitute(vim_regex, '\\[:ascii:\\]', '[\\\\x00-\\\\x7F]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:ascii:\\]', '[\\\\x00-\\\\x7F]', 'g')
|
||||||
vim_regex = substitute(vim_regex, '\\[:word:\\]', '[0-9A-Za-z_]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:word:\\]', '[0-9A-Za-z_]', 'g')
|
||||||
vim_regex = substitute(vim_regex, '\\[:alnum:\\]', '[^0-9A-Za-z]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:alnum:\\]', '[^0-9A-Za-z]', 'g')
|
||||||
vim_regex = substitute(vim_regex, '\\[:alpha:\\]', '[^A-Za-z]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:alpha:\\]', '[^A-Za-z]', 'g')
|
||||||
vim_regex = substitute(vim_regex, '\\[:ascii:\\]', '[^\\x00-\\x7F]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:ascii:\\]', '[^\\x00-\\x7F]', 'g')
|
||||||
vim_regex = substitute(vim_regex, '\\[:blank:\\]', '[^\\t ]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:blank:\\]', '[^\\t ]', 'g')
|
||||||
vim_regex = substitute(vim_regex, '\\[:cntrl:\\]', '[^\\x00-\\x1F\\x7F]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:cntrl:\\]', '[^\\x00-\\x1F\\x7F]', 'g')
|
||||||
vim_regex = substitute(vim_regex, '\\[:digit:\\]', '[^0-9]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:digit:\\]', '[^0-9]', 'g')
|
||||||
vim_regex = substitute(vim_regex, '\\[:graph:\\]', '[^!-~]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:graph:\\]', '[^!-~]', 'g')
|
||||||
vim_regex = substitute(vim_regex, '\\[:lower:\\]', '[^a-z]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:lower:\\]', '[^a-z]', 'g')
|
||||||
vim_regex = substitute(vim_regex, '\\[:print:\\]', '[^ -~]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:print:\\]', '[^ -~]', 'g')
|
||||||
vim_regex = substitute(vim_regex, '\\[:punct:\\]', '[^!-/:-@\\[-`{-~]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:punct:\\]', '[^!-/:-@\\[-`{-~]', 'g')
|
||||||
vim_regex = substitute(vim_regex, '\\[:space:\\]', '[^\\t\\n\\r ]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:space:\\]', '[^\\t\\n\\r ]', 'g')
|
||||||
vim_regex = substitute(vim_regex, '\\[:upper:\\]', '[^A-Z]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:upper:\\]', '[^A-Z]', 'g')
|
||||||
vim_regex = substitute(vim_regex, '\\[:word:\\]', '[^0-9A-Za-z_]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:word:\\]', '[^0-9A-Za-z_]', 'g')
|
||||||
vim_regex = substitute(vim_regex, '\\[:xdigit:\\]', '[^0-9A-Fa-f]', 'g')
|
vim_regex = substitute(vim_regex, '\\[:xdigit:\\]', '[^0-9A-Fa-f]', 'g')
|
||||||
return [[\v]] .. vim_regex
|
return [[\v]] .. vim_regex
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- default.lua --- default option
|
-- default.lua --- default option
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- layer.lua --- spacevim layer module
|
-- layer.lua --- spacevim layer module
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- java.lua --- Java layer
|
-- java.lua --- Java layer
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- logger.lua --- logger implemented in lua
|
-- logger.lua --- logger implemented in lua
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- a.lua --- alternate plugin for SpaceVim
|
-- a.lua --- alternate plugin for SpaceVim
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- autosave.lua --- autosave plugin
|
-- autosave.lua --- autosave plugin
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- mkdir.lua --- mkdir plugin in lua
|
-- mkdir.lua --- mkdir plugin in lua
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- projectmanager.lua --- The lua version of projectmanager..vim
|
-- projectmanager.lua --- The lua version of projectmanager..vim
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- tabline.lua --- tabline plugin implemented in lua
|
-- tabline.lua --- tabline plugin implemented in lua
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- windisk.lua --- windisk plugin in lua
|
-- windisk.lua --- windisk plugin in lua
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--=============================================================================
|
--=============================================================================
|
||||||
-- plugins.lua --- plugin manager
|
-- plugins.lua --- plugin manager
|
||||||
-- Copyright (c) 2016-2019 Wang Shidong & Contributors
|
-- Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
-- Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
-- URL: https://spacevim.org
|
-- URL: https://spacevim.org
|
||||||
-- License: GPLv3
|
-- License: GPLv3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" SpaceVimTodoManager.vim --- syntax file for TodoManager
|
" SpaceVimTodoManager.vim --- syntax file for TodoManager
|
||||||
" Copyright (c) 2016-2019 Wang Shidong & Contributors
|
" Copyright (c) 2016-2023 Wang Shidong & Contributors
|
||||||
" Author: Wang Shidong < wsdjeg@outlook.com >
|
" Author: Wang Shidong < wsdjeg@outlook.com >
|
||||||
" URL: https://spacevim.org
|
" URL: https://spacevim.org
|
||||||
" License: GPLv3
|
" License: GPLv3
|
||||||
|
Loading…
Reference in New Issue
Block a user