Commit Graph

52 Commits

Author SHA1 Message Date
Josef Litoš
e8ea7a2a38
reverted 1 commit + trailing space makes new path 2022-07-26 11:32:16 +02:00
hrsh7th
bee12940fd Improve space handling 2022-07-26 16:43:06 +09:00
hrsh7th
945d46d988
Merge pull request #47 from daangoossens22/fix_file_preview
fix: file previewer
2022-07-25 20:14:34 +09:00
Daan Goossens
c495c8aedd fix: file previewer 2022-07-25 12:48:06 +02:00
hrsh7th
981baf9525
Merge pull request #45 from registerGen/main
Fix an issue caused by #44
2022-06-29 21:07:02 +09:00
registerGen
f3677a7530 fix: fix an issue caused by #44 2022-06-29 18:17:40 +08:00
hrsh7th
cc87cf2b38
Merge pull request #44 from registerGen/main
feat: syntax highlighting in preview (#36)
2022-06-29 18:23:55 +09:00
registerGen
222ac1ce7e feat: syntax highlighting in preview (#36) 2022-06-29 14:53:34 +08:00
hrsh7th
466b6b8270
Merge pull request #37 from schrc3b6/main
added option to change the base dir for relative paths
2022-02-03 02:43:14 +09:00
schrc3b6
f244d8c333 added option to change the base dir for relative paths 2022-02-02 18:34:52 +01:00
hrsh7th
c5230cb439
Merge pull request #35 from squat/option_for_trailing_slash
lua: add option for automatic trailing slash
2022-01-17 23:45:05 +09:00
Lucas Servén Marín
e9687f3db1
lua: add option for automatic trailing slash
This commit adds a new option to the source to automatically include
trailing slashes in the inserted text when completing a directory. This
option is disabled by default.

Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
2022-01-17 15:29:40 +01:00
hrsh7th
4d58224e31
Merge pull request #30 from dmitmel/main
Stop using goto to support Lua 5.1
2021-12-30 22:01:20 +09:00
Dmytro Meleshko
a41bd7d669 Stop using goto to support Lua 5.1 2021-12-30 13:48:24 +02:00
hrsh7th
81d88dfcaf Fix directory candidates behavior 2021-12-20 16:53:39 +09:00
hrsh7th
94cc3117eb
Merge pull request #26 from dmitmel/main
Autocomplete special files, but don't generate previews for them, clean up stat-related code
2021-12-20 12:56:25 +09:00
hrsh7th
e1a6916170
Merge pull request #27 from marcushwz/main
Fix path completions break after second /
2021-12-18 23:24:02 +09:00
Marcus Heng
03c004bde5 Fix path completions break after second /
Signed-off-by: Marcus Heng <marcushwz@gmail.com>
2021-12-18 21:34:29 +08:00
Dmytro Meleshko
0cfa5a31d8 Autocomplete special files, but don't generate previews for them, clean up stat-related code 2021-12-17 16:32:18 +02:00
hrsh7th
56a0fe5c46 Fix quotes 2021-12-14 23:40:48 +09:00
hrsh7th
d83839ae51 Remove trigger chars 2021-12-02 11:00:37 +09:00
hrsh7th
e30d3fdee6
Merge pull request #16 from sudoforge/10/relative-paths-without-a-leading-slash
feat: support relative paths without a leading forward slash
2021-11-29 12:22:52 +09:00
hrsh7th
4fe14cf562
Merge pull request #17 from dmitmel/main
Avoid generating previews for device files
2021-11-27 20:09:02 +09:00
Dmytro Meleshko
ba1fe4fd51 Avoid generating previews for device files 2021-11-27 13:05:37 +02:00
Benjamin Denhartog
d4544fc965
feat: support relative paths without a leading forward slash
This patch adds support for triggering path completion on `"` and `'`
(double and single quotes), limited to relative paths that start without
a leading forward slash.

closes #10
2021-11-24 20:44:43 -07:00
hrsh7th
81518cf6ae
Merge pull request #14 from eonpatapon/fs-compat
Get filetype for unsupported FS
2021-11-20 12:38:52 +09:00
Jean-Philippe Braun
7077ed61b0 Get filetype for unsupported FS
As per http://docs.libuv.org/en/v1.x/fs.html `uv_fs_scandir_next`
returns a type only for btrfs, ext2, ext3 and ext4 FS.
2021-11-15 09:16:41 +01:00
hrsh7th
98ded32b9c
Create LICENSE 2021-11-10 20:30:12 +09:00
hrsh7th
97661b0023
Merge pull request #12 from dmitmel/main
Fix crash on undefined environment variables
2021-10-27 17:22:41 +09:00
Dmytro Meleshko
a77761ab25 Fix #11 2021-10-24 12:46:18 +03:00
hrsh7th
387b740fc1
Merge pull request #2 from tzachar/main
Add file preview
2021-10-22 19:41:36 +09:00
hrsh7th
c495b5985d
Merge pull request #9 from dmitmel/main
Fix crashes when completing a path after ~/ and with an unmatched {
2021-10-18 19:44:32 +09:00
Dmytro Meleshko
515b8c0baf fix crashes when completing a path after ~/ and with an unmatched { 2021-10-18 13:37:27 +03:00
hrsh7th
2b1d31fef7 Support cmdline 2021-10-17 00:26:07 +09:00
Nir Tzachar
eae0158feb more efficient binary file detection 2021-10-06 17:42:53 +03:00
Nir Tzachar
f7d350a436 ignore binary files 2021-10-06 15:55:04 +03:00
Nir Tzachar
b7d3dd3998 Merge branch 'hrsh7th-main' 2021-10-06 14:36:32 +03:00
Nir Tzachar
9b4c53f2e8 Merge branch 'main' of https://github.com/hrsh7th/cmp-path into hrsh7th-main 2021-10-06 14:35:53 +03:00
hrsh7th
8d88c92dd5 Fix #7 2021-10-06 20:23:03 +09:00
hrsh7th
0016221b61
Merge pull request #6 from py2048/main
Fix hidden files bug
2021-09-12 01:36:03 +09:00
py2048
833f9f5a38
Fix hidden files bug 2021-09-11 23:21:08 +07:00
hrsh7th
3a29c5131a Fix PATH_REGEX 2021-09-08 13:36:26 +09:00
hrsh7th
8450341c7e Don't include '/' as keywords 2021-09-06 19:28:26 +09:00
hrsh7th
8889960ab7 Regex compile first 2021-09-04 21:28:21 +09:00
hrsh7th
62ecedd4bd Avoid vim.fn.expand 2021-09-04 21:27:26 +09:00
Nir Tzachar
f3de33728e misc 2021-09-02 14:23:11 +03:00
Nir Tzachar
868f1206ff move reading lines to resolve 2021-09-02 12:36:15 +03:00
Nir Tzachar
c0d3a5e3ab add file preview 2021-09-02 12:10:19 +03:00
hrsh7th
48df45154e Add source name to README.md 2021-08-25 15:38:12 +09:00
hrsh7th
175a385424 Fix filename completion 2021-08-10 03:21:32 +09:00