diff options
author | Christian Höltje <docwhat@gerf.org> | 2017-03-14 01:00:12 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2018-03-29 10:41:04 -0400 |
commit | 868b84199ef321834022c19d9ba1d1d04cb77570 (patch) | |
tree | f693aa795470590808659eb6674267478745bcfa /src/nvim/eval.lua | |
parent | e54ff10d44a18b59350503accc68811e4a5be29f (diff) | |
download | rneovim-868b84199ef321834022c19d9ba1d1d04cb77570.tar.gz rneovim-868b84199ef321834022c19d9ba1d1d04cb77570.tar.bz2 rneovim-868b84199ef321834022c19d9ba1d1d04cb77570.zip |
eval: Add stdpath() method (#5297)
Adds the :stdpath method for fetching XDG standard directories.
Fixes #5297
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r-- | src/nvim/eval.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index daa3b637a3..801d2cc468 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -280,6 +280,7 @@ return { spellsuggest={args={1, 3}}, split={args={1, 3}}, sqrt={args=1, func="float_op_wrapper", data="&sqrt"}, + stdpath={args=1}, str2float={args=1}, str2nr={args={1, 2}}, strcharpart={args={2, 3}}, |