lite-xl/data
Francesco Abbate 9929ca9c2d Fix logic with project directories suggestions
Attempt to fix issue #791.

The logic set with the previous commit for suggest_directory
is similar to the one we use except the previous expression
was false do to operator precedence for "and" versus "or".

With the modification here, when opening a project directory,
we suggest the recently used projects
if the text is equal to dirname(project_dir) + "/" which
happens to be the text the command view is initially set to.
In addition we do the same if text is "". If the condition is
not met we return the suggestions from common.dir_path_suggest to
match the text entered.

Works well on Linux but may not solve the problem on Windows, it
should be tested.
2022-01-05 23:21:47 +01:00
..
colors Add textadept theme and correct language_lua just a bit 2021-08-11 23:33:00 +02:00
core Fix logic with project directories suggestions 2022-01-05 23:21:47 +01:00
fonts Use FiraSans regular for UI 2021-05-27 13:49:33 +02:00
plugins Revert "No longer store autocomplete options in config" 2021-12-31 00:22:49 +01:00