diff options
author | Hennadii Chernyshchyk <genaloner@gmail.com> | 2023-03-29 21:27:25 +0300 |
---|---|---|
committer | Hennadii Chernyshchyk <genaloner@gmail.com> | 2023-03-29 21:27:25 +0300 |
commit | 659ac3a90e7770cf2e63eb9e08b68a4dff3e6ad4 (patch) | |
tree | d2f18e554c62faaf4c71dcd640d5c9d9c2703333 | |
parent | 0cb6b6a00520d7db850632b423c7395021fc3e57 (diff) | |
download | neovim-tasks-659ac3a90e7770cf2e63eb9e08b68a4dff3e6ad4.tar.gz neovim-tasks-659ac3a90e7770cf2e63eb9e08b68a4dff3e6ad4.zip |
Trim args
-rw-r--r-- | lua/tasks/utils.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/tasks/utils.lua b/lua/tasks/utils.lua index 983bde7..fab3be7 100644 --- a/lua/tasks/utils.lua +++ b/lua/tasks/utils.lua | |||
@@ -18,6 +18,7 @@ function utils.split_args(args) | |||
18 | end | 18 | end |
19 | 19 | ||
20 | -- Split on spaces unless in quotes. | 20 | -- Split on spaces unless in quotes. |
21 | args = vim.trim(args) | ||
21 | local splitted_args = {} | 22 | local splitted_args = {} |
22 | local match_beg | 23 | local match_beg |
23 | while true do | 24 | while true do |