Thiago de Arruda
e596234fc2
test: Add more TUI tests and increase timeout
2015-10-26 10:52:01 -03:00
Justin M. Keyes
424b00ea61
Merge pull request #3507 from fmoralesc/fix-tutorial-1
...
tutor: fix location for init.vim file
2015-10-26 09:49:29 -04:00
Felipe Morales
c3f95ade91
tutor: fix location for init.vim file
2015-10-26 14:47:11 +01:00
ZyX
be6b784766
option: Fix strange condition in add_dir function
2015-10-26 14:51:56 +03:00
ZyX
89a84baaf9
option: Fix typos that may lead to SEGV in some cases
2015-10-26 14:49:03 +03:00
Justin M. Keyes
0f9dea2a0e
vim-patch:7.4.849
...
Problem: Moving the cursor in Insert mode starts new undo sequence.
Solution: Add CTRL-G U to keep the undo sequence for the following
cursor movement command. (Christian Brabandt)
8b5f65a527
Closes #3492
2015-10-26 02:23:59 -04:00
Justin M. Keyes
1ca5646bb5
Merge pull request #3470 from ZyX-I/pr-3198
...
XDG base directory specification support
2015-10-25 22:38:23 -04:00
ZyX
42047acb4f
documentation: Update documentation regarding init.vim location
2015-10-24 04:35:14 +03:00
ZyX
157af47202
os/unix_defs: Rename default system vimrc file to sysinit.vim
...
This way all standard Vim file paths have .vim extension. VIMRC_FILE constant
used for &exrc option was not touched.
2015-10-24 04:35:14 +03:00
ZyX
2b437e7102
main: Check init.vim files also in other XDG directories
2015-10-24 04:35:13 +03:00
Justin M. Keyes
de4cb766ca
Merge pull request #3490 from ZyX-I/fix-3472
...
Fix local marks saving/restoring with ShaDa
2015-10-23 10:11:59 -04:00
ZyX
95979afc47
oldtests: Also set .
as default directories for old tests
2015-10-23 17:04:26 +03:00
ZyX
e5537a935f
functests: Fix tests
2015-10-23 15:56:51 +03:00
ZyX
6b17d35ff1
functests: Use . for various folder defaults in tests
2015-10-23 15:56:51 +03:00
ZyX
ec1ca54d59
functests: Do not forget about -i argument
...
Target: make all tests run with chmod -x ~/.config/nvim ~/.local/share/nvim.
2015-10-23 15:56:51 +03:00
ZyX
ca6235c20f
*: Fix linter errors
2015-10-23 15:56:50 +03:00
ZyX
a8e18d9b5a
memline: Automatically create swap file directory for last directory
2015-10-23 15:56:50 +03:00
ZyX
fefcc01cc1
os/fs: Allow os_mkdir_recurse directory name to end with ///
2015-10-23 14:54:11 +03:00
ZyX
030c608b7d
option: Use memcnt for counting commas
2015-10-23 14:54:11 +03:00
ZyX
198ba323b8
stdpaths: Remove outdated comment
2015-10-23 14:54:11 +03:00
ZyX
25bb9c9f7d
option: Silence “may be used unitialized” errors
2015-10-23 14:54:11 +03:00
ZyX
181c377697
stdpaths: Add Windows-specific directories
2015-10-23 14:54:11 +03:00
ZyX
b7732cceca
functests: Fix 078_swapfile_recover test
2015-10-23 14:54:11 +03:00
ZyX
d2e07c8307
stdpaths: Add missing include
2015-10-23 14:54:11 +03:00
ZyX
8642bad122
shada: Remove SHADA_FILE2
2015-10-23 14:54:11 +03:00
ZyX
fee3c32048
stdpaths: Remove Apple defaults, use \*nix ones instead
2015-10-23 14:54:11 +03:00
ZyX
afcc842881
main,version: Remove USR_EXRC_FILE*
2015-10-23 14:54:11 +03:00
ZyX
a82a059921
option: Add //
to the end of default &directory
2015-10-23 14:54:11 +03:00
ZyX
aadaa1fed4
stdpaths: Add documentation
2015-10-23 14:54:11 +03:00
ZyX
89a10b3e7c
main,os/env: Fix lint errors
2015-10-23 14:54:11 +03:00
ZyX
2018389871
option: Remove new trailing spaces
2015-10-23 14:54:10 +03:00
ZyX
d1ed658c44
option: Do not add unneeded path separator, protect against zero len
2015-10-23 14:54:10 +03:00
ZyX
86a6ff7b9d
option: Move macros to functions, use PATHSEP in place of /
2015-10-23 14:54:10 +03:00
ZyX
1cdc3298cf
documentation: Update documentation
...
Note about ~/.local/share/nvim/site used in one usr_\* file: this one talks
about user-local installation of third-party plugins, and
~/.local/share/nvim/site is the proper place for them. Most other files talk
about user own configuration and this is ~/.config.
2015-10-23 14:54:10 +03:00
ZyX
a1b0f4073d
stdpaths: Do NOT create data directories
...
This is none of option.c business to create *possibly unneeded* **default**
directories **before** user specified where he actually wants to place the
files.
2015-10-23 14:54:10 +03:00
ZyX
a06a8bad60
stdpaths: Give proper error message in case directory creation failed
2015-10-23 14:54:10 +03:00
ZyX
2e750973e9
shada: Move shada file to a new location
2015-10-23 14:54:10 +03:00
ZyX
502a20a8fe
stdpaths,main: Remove all remaining memory leaks
2015-10-23 14:54:10 +03:00
ZyX
0a59c969cc
option: Use proper printexpr
2015-10-23 14:54:10 +03:00
ZyX
642a07ce27
option: Remove some memory leaks
2015-10-23 14:54:10 +03:00
ZyX
be91bc1e1a
stdpaths: Export get_xdg function (renamed) and use it for runtimepath
2015-10-23 14:54:10 +03:00
ZyX
afb0f2f9b1
stdpaths: Rename export functions so that they have common prefix
2015-10-23 14:54:10 +03:00
ZyX
120ec8c2ea
stdpaths: Remove useless functions get_user_*_dir
2015-10-23 14:54:09 +03:00
ZyX
1db5a807b2
stdpaths: Fix some issues, specifically
...
- Remove/add includes
- Do not pretend that returns are const
- Add function attributes
- Allocate memory always in get_xdg
2015-10-23 14:54:09 +03:00
ZyX
8e2c0fdba5
option: Append with escaped commas
2015-10-23 14:54:09 +03:00
ZyX
ab2944f46c
option: Prepare for all environment variables being NULL.
2015-10-23 14:54:09 +03:00
ZyX
ee95f818a6
option: Move all data directories after all config directories
2015-10-23 14:54:09 +03:00
ZyX
efb6045a00
option: Add /site subdirectory to data directories
2015-10-23 14:54:09 +03:00
ZyX
76e2788d87
option: Use different default value for &runtimepath
2015-10-23 14:54:09 +03:00
ZyX
674629be0c
os/env: Add functions that can iterate over colon-separated variables
2015-10-23 14:54:09 +03:00