1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:50:05 +08:00
Commit Graph

6100 Commits

Author SHA1 Message Date
wsdjeg
6333a123c8 docs(shields): update shields url 2023-02-19 20:15:28 +08:00
Steve Huff
25e2819b0e
fix(lua): handle missing guioptions 2023-01-18 07:38:14 +08:00
mert
14d66bdb96
fix(mkfontdir): only check for mkfontdir when OS is not Darwin 2023-01-08 12:06:55 +08:00
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
Ikko Ashimine
09bffd93c0
docs(typo): fix typo in documentation.md
boostrap -> bootstrap
2022-12-28 14:16:14 +08:00
Vladislav Sharapov
3ac0fe27cc
fix(install): fix indentation, remove unnecessary newlines 2022-11-29 19:00:37 +08:00
tbrixen
09593ef85f
docs(typo): fix spelling mistake 2022-11-29 18:59:28 +08:00
Vladislav Sharapov
9cc4d926a7
fix(font): change download font url
Old link redirects to raw.githubusercontent.com.
2022-11-29 18:58:39 +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
Martin Bångens
3bea6df3a7
fix(clipboard): remove --nodetach option 2022-11-21 07:53:58 +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
458206d350 docs(contribute): update link to matrix 2022-11-20 21:38:53 +08:00
wsdjeg
53c3865f53 docs(file): add filetype icons 2022-11-20 16:45:36 +08:00
wsdjeg
30bbccc5cb chore(init): remove main.vim 2022-11-20 12:33:55 +08:00
wsdjeg
e8f52d50c5 docs(git): add :h git-functions and :h git-branch 2022-11-20 12:04:36 +08:00
wsdjeg
e40635a035 fix(git): add clean.vim 2022-11-19 21:33:45 +08:00
wsdjeg
99e0262f12 feat(git): add :Git clean command 2022-11-19 21:17:12 +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
Ricardo Martincoski
8c33a001d7
docs(dev): change commit desc style guide
The vast majority of last 1000 commits do not use a capital letter to
start the <description> field in the commit subject:
$ git log --oneline -n 1000 origin/master | grep ': [A-Z]' | wc -l
11
$ git log --oneline -n 1000 origin/master | grep ': [a-z]' | wc -l
984
Assume this is the new convention and update the doc.
2022-11-14 14:54:04 +08:00
wsdjeg
aced222602 revert(treesitter)!: revert treesitter 2022-11-14 00:10:02 +08:00
wsdjeg
09a5ffee35 perf(treesitter): update bundle nvim-treesitter 2022-11-13 23:50:23 +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
ec0756f309 feat(logger): change logger clock format 2022-11-13 16:44:48 +08:00
wsdjeg
54a8fb0854 fix(logger): fix logger time format 2022-11-13 16:03:33 +08:00
wsdjeg
852add00b8 perf(health): improve layer health checking 2022-11-13 15:41:15 +08:00
wsdjeg
667a25c8e8 docs(community): remove link to smart-questions
because I do not like the words:

- idiots
- 白痴
2022-11-13 00:19:30 +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
ba9af706be fix(ctags): fix project_root 2022-11-12 22:41:43 +08:00
wsdjeg
c25a40d3e0 perf(ctags): improve ctags log 2022-11-12 22:39:45 +08:00
wsdjeg
a85c19a990 perf(scrollbar): disable scrollbar in git commit buffer 2022-11-12 22:19:00 +08:00
wsdjeg
39750dec56 docs(scrollbar): update doc of scrollbar 2022-11-12 20:36:21 +08:00
wsdjeg
f81873a6ad docs(wiki): update matrix link 2022-11-11 09:17:53 +08:00
wsdjeg
28d9ebe672 fix(projectmanager): fix rootdir detection for empty buffer 2022-11-06 22:38:04 +08:00
wsdjeg
fd718cae7e perf(a.lua): improve get alt logic 2022-11-05 23:17:54 +08:00
wsdjeg
539eee1846 fix(a.lua): fix alt function 2022-11-05 22:38:21 +08:00
wsdjeg
cb57c350e6 fix(typo): fix typo in a.lua 2022-11-05 22:36:14 +08:00
wsdjeg
45fc30e1f7 feat(a.lua): improve a.lua plugin 2022-11-05 22:35:13 +08:00