1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:20:04 +08:00
Commit Graph

3303 Commits

Author SHA1 Message Date
Olliver Schinagl
9e80d9bbfa
feat:(XDG): add XDG support
* fonts: Ensure mkfontscale is installed

When installing fonts, we have a silent igored error about missing
`mkfontscale` (and `mkfontdir`). Add a requirements check for it, and
'need' it when actually attempting to install fonts.


* fetch_repo: Never change a directory

It is bad practice to change the currents shell working directory. E.g.
never use 'cd' in a script.

For example, if `git pull` crashes, it would leave the user in the git
directory 'somewhere' on his filesystem, potentially causing confusion,
as the following `cd -` command is never executed.

There are of course always exceptions, such as when tooling does not
(easily) support out of tree invocation.

To solve this, run the command in a subshell, which won't touch the
current working directory as the exit of the subshell kept the previous
working directory.

A more difficult alternative would be to pass `--git-dir` and
`--work-tree` along to git, but this would make it far harder to read.

* fetch_repo: Do not duplicate code all over

There is no reason to put `need 'git'` all over the place, when the only
time we truly need it, is if we pull the repo. Make the code a little
less cluttered and a bit easier to read.

* install: Support XDG_CONFIG_HOME

Add support for the XDG specification for XDG_CONFIG_HOME. NeoVIM
already follows this, regular vim needs a bit of help there.

Closes: #3517

* SpaceVim.d: Support XDG paths

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2022-12-28 14:19:06 +08:00
wsdjeg
1f907973b8 fix(color): fix color vader test 2022-11-21 23:41:49 +08:00
wsdjeg
2fb4a62e36 fix(color): update color map 2022-11-21 23:31:09 +08:00
wsdjeg
4d02ee3f49 feat(file): add icon for toml file 2022-11-20 22:20:17 +08:00
wsdjeg
961538fc91 fix(colorscheme): fix VertSplit highlight 2022-11-20 22:09:36 +08:00
wsdjeg
53c3865f53 docs(file): add filetype icons 2022-11-20 16:45:36 +08:00
wsdjeg
3d63320771 docs(colorscheme): update doc of colorscheme layer 2022-11-19 20:28:32 +08:00
wsdjeg
ead0478037 fix(typo): fix typo in r and swift layer
merge https://github.com/SpaceVim/SpaceVim/pull/4745

Co-authored-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
2022-11-15 07:27:43 +08:00
wsdjeg
885bc3863e docs(layers): fix layers configuration snippet
close https://github.com/SpaceVim/SpaceVim/pull/4751

Co-authored-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
2022-11-14 21:18:41 +08:00
wsdjeg
a2ee3119b5 docs(dockerfile): fix typo 2022-11-14 21:09:07 +08:00
wsdjeg
297314e63e docs(dockerfile): update dockerfile doc
merge https://github.com/SpaceVim/SpaceVim/pull/4744

Co-authored-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
2022-11-14 21:07:16 +08:00
wsdjeg
1a6160e1cd docs(colorscheme): add missing list
merge 3bc0a1ad21
close https://github.com/SpaceVim/SpaceVim/pull/4746
Co-authored-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
2022-11-14 20:57:53 +08:00
Ricardo Martincoski
1d96c391fa
docs(changelog): update :h SpaceVim-changelog 2022-11-14 20:46:44 +08:00
Ricardo Martincoski
1e4b1216d2
fix(typo): buildin -> builtin 2022-11-14 15:01:20 +08:00
Ricardo Martincoski
be9c746d7a
fix(typo): ldefault -> default 2022-11-14 14:59:28 +08:00
Ricardo Martincoski
042f310fea
fix(typo): sinippet -> snippet 2022-11-14 14:57:15 +08:00
Ricardo Martincoski
77dbb96091
fix(typo): Ket -> Key 2022-11-14 14:54:48 +08:00
wsdjeg
3f14a86e0d feat(markdown): use bundle markdown plugin 2022-11-13 23:20:09 +08:00
wsdjeg
f0ca1bc6c5 fix(bootstrap): skip error in toml file 2022-11-13 22:24:23 +08:00
wsdjeg
852add00b8 perf(health): improve layer health checking 2022-11-13 15:41:15 +08:00
wsdjeg
6afcc76a49 fix(startup): fix startify
close https://github.com/SpaceVim/SpaceVim/issues/4706
2022-11-13 00:02:20 +08:00
wsdjeg
a85c19a990 perf(scrollbar): disable scrollbar in git commit buffer 2022-11-12 22:19:00 +08:00
wsdjeg
6f96cce5e5 feat(maven): add maven task provider 2022-11-02 11:37:42 +08:00
wsdjeg
91e367637a fix(projectmanager): fix root sort function 2022-11-02 10:47:42 +08:00
wsdjeg
0a7ec1a1c5 fix(java): build classpath when switch project 2022-11-02 09:38:10 +08:00
wsdjeg
88489db9c2 fix(checkers): fix statusline for checkers layer 2022-11-02 01:48:12 +08:00
wsdjeg
6ad45ced73 fix(java): enable jc2 only when no lsp 2022-11-02 00:44:01 +08:00
wsdjeg
2a7798f009 perf(java): change javac display language to en 2022-11-02 00:41:14 +08:00
wsdjeg
2e1ad13d21 chore(java): use bundle javacomplete2 2022-11-02 00:34:34 +08:00
Wang Shidong
3db40b345a
feat(tasks): add telescope task 2022-11-01 00:21:03 +08:00
wsdjeg
d6ace74117 fix(lang#c): disable clangx when lsp enabled 2022-10-30 22:00:44 +08:00
wsdjeg
aae60509e8 feat(lang#c): remove invalid entries from neomake 2022-10-30 19:37:01 +08:00
wsdjeg
e9ecbbc530 feat(notify): support notify multiple lines 2022-10-27 22:27:56 +08:00
wsdjeg
a6c5d56311 fix(gitcommit): fix gitcommit plugin 2022-10-27 17:55:42 +08:00
wsdjeg
591f725e18 feat(unstack): include vim-unstack 2022-10-27 15:44:42 +08:00
wsdjeg
91fd3ad573 perf(git): use notify instead of echo 2022-10-27 00:27:02 +08:00
wsdjeg
975e1d5088 perf(git): add git command 2022-10-27 00:23:49 +08:00
wsdjeg
0a0b74f09b fix(transient): fix transient_state quit key 2022-10-27 00:19:08 +08:00
wsdjeg
ca81fb2a96 perf(git): use git.vim instead of terminal 2022-10-26 23:57:40 +08:00
wsdjeg
6950d163f3 feat(vcs): fix log grep option 2022-10-26 23:07:58 +08:00
wsdjeg
0d26faa31d perf(scrollbar): disable scrollbar for tagbar and defx 2022-10-26 18:27:46 +08:00
wsdjeg
665727ada3 fix(projectmanager): remove log info 2022-10-26 17:35:33 +08:00
wsdjeg
e22871492f feat(cheat): ignore readfile error 2022-10-25 23:59:26 +08:00
wsdjeg
4446ad9663 chore(cheat): use bundle vim-cheat 2022-10-25 22:39:37 +08:00
Wang Shidong
ac74bffee5
feat(zettelkasten): improve zettelkasten layer 2022-10-25 18:35:51 +08:00
wsdjeg
7c656469bf feat(leader): add custom leader function
close https://github.com/SpaceVim/SpaceVim/issues/3611
2022-10-24 22:24:51 +08:00
wsdjeg
71bc539267 feat(lsp): fix lsp layer options
ref: https://github.com/SpaceVim/SpaceVim/issues/4679
2022-10-24 21:54:20 +08:00
wsdjeg
1629ba4c92 perf(notify): change notify step timer 2022-10-23 21:22:18 +08:00
wsdjeg
76a8fd42cc feat(statusline): change statusline for python doc win 2022-10-23 16:12:59 +08:00
wsdjeg
459d676373 chore(jedi): use bundle deoplete_jedi
arty/typeshed/tests/stubtest_whitelists/py36.txt
2022-10-23 16:00:31 +08:00