Commit Graph

11 Commits

Author SHA1 Message Date
d7289e1d69 vim:xdg: Fix E474 when &spl has multiple languages
Escape comma to not get

    E474: Invalid argument
2025-05-20 11:47:42 +02:00
f4d3a4364b vim:xdg: Fix updating spellfile through modeline
Setting `&spellfile` from the modeline is not allowed and will result in
an `E523: not allowed here` error. Fix the updating of the file by
additionally having an autocommand on BufWinEnter (i.e. after the
modeline was read).

TODO: Also get rid of the error message when rereading the modeline (:e)
2024-10-19 17:57:47 +02:00
9ce1cd236b vim: Remove german umlaut mappings
As I started to type on the international US layout I don't need any
extra bindings for special characters in vim.

Move the update of `spellfile` into xdg.vim, as it was the only
remaining body of `NewSpellLang()` and fits thematically.
2022-08-25 04:27:51 +02:00
1fff0c584c vim:xdg: Fix whitespace error in indentation 2021-07-14 12:53:42 +02:00
00c6f56c69 vim: Use $XDG_DATA_HOME for spell files 2020-12-24 01:59:27 +01:00
b9f26d7482 vim: Split vimrc into vimrc.d/ 2020-12-23 01:42:42 +01:00
8de39de335 vim: Fix name clashing of backup, undo, swap files 2020-12-22 20:31:30 +01:00
druckdev
2f198cdb2e vim:xdg: Fix bug that creates ~/~
Fix bug that when the XDG Base Directory variables are not set on
startup a directory "~" is created in $HOME instead of falling back to
the default values.
2020-11-03 14:12:16 +01:00
druckdev
923c0c0648 Cleanup vims XDG config
Add exact commit to reference link.
Merge deleting and then readding different paths to options onto a
single line.
2020-09-13 17:56:13 +02:00
druckdev
93e6a3ee93 Fix issues with vanilla vim
When TERM is not xterm-256color (for example in st or tmux) t_8f and
t_8b have to be set manually for colors to work.
Add XDG_CONFIG_HOME/vim to packpath so that plugins work.
2020-09-13 16:26:20 +02:00
druckdev
0c743950ac Initial commit 2020-04-23 14:50:36 +02:00