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
Keerthan Jaic
c2dd07448f
option,main: Partial support of XDG base directory specification
...
- Add functions that are able to query XDG.
- Replace defaults for
- &runtimepath. Does not follow #78 .
- &viewdir.
- &undodir.
- &directory.
- &backupdir. Does not follow #78 .
- vimrc location.
- Remove user vimrc file line from :version message.
2015-10-23 14:54:09 +03:00
ZyX
fc2bb200f7
documentation: Fix :delmarks! documentation
...
:delmarks! clears the change list, but this fact is not mentioned. Also true for
Vim.
2015-10-23 14:47:59 +03:00
ZyX
e96aa067f3
mark: Make clrallmarks correctly free all marks, and set zero tstamps
...
This and the previous commit together fix #3472 . This one also fixes memory leak
on :delmarks!.
2015-10-23 14:47:59 +03:00
ZyX
7a1090eef5
shada: Run set_last_cursor before writing shada file
2015-10-23 14:47:59 +03:00
ZyX
ea2fe52552
functests: Add test to check expected behaviour (failing)
2015-10-23 14:47:59 +03:00
ZyX
a85163a5d2
scripts: Add filter argument to shadacat.py
2015-10-23 14:47:59 +03:00
Justin M. Keyes
e38cbb9367
Merge pull request #1909 from equalsraf/tb-os_serveraddress
...
server_address()
2015-10-19 18:53:46 -04:00
Justin M. Keyes
ea01c40f52
Merge pull request #3466 from johanhelsing/vim-7.4.793
...
vim-patch:7.4.793
2015-10-19 09:39:51 -04:00