Commit Graph

62 Commits

Author SHA1 Message Date
hrsh7th 91ff86cd9c
Merge pull request #53 from amarakon/main
Remove the leading slash from the directory label
2022-10-03 17:04:43 +09:00
Amar Al-Zubaidi 7b9a575bcd
README: Change false to true 2022-10-03 03:49:32 -04:00
amarakon d5a571d79c Change `visual_slash` to `label_trailing_slash` 2022-10-03 02:19:15 -04:00
amarakon 78a7bce3bc Add `visual_slash` option with the default `true` 2022-10-03 01:02:17 -04:00
amarakon 1267fcfe88 Remove the leading slash from the directory label 2022-10-02 23:12:54 -04:00
hrsh7th 447c87cdd6
Merge pull request #48 from JosefLitos/main
Fix  #28 with trailing space detection
2022-07-26 23:10:13 +09:00
Josef Litoš 108f4c32cc
added group check for ../../ 2022-07-26 12:42:06 +02:00
Josef Litoš 3380dc962e
disallowed . and ~ from last dir char 2022-07-26 12:26:23 +02:00
Josef Litoš 691f09425f
used the original, removing allow_space 2022-07-26 12:00:23 +02:00
Josef Litoš e231950fd0
reverted 1 commit in readme 2022-07-26 11:33:13 +02:00
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