* feat/cd_settings: configurable cd scope
* Add test coverage for local/tab cd
* feat/cd_scope: update tests
---------
Co-authored-by: Cameron Daniel <cam.daniel@gmail.com>
This PR allows the user to configure Telescope Project to invoke any
arbitrary function as the result of a project being selected. Existing
behavior remains unchanged and the user must opt-in to this
configuration option. See README for documentation.
* Substitute ansi-color coding sequence generated from `vim.fn.systemlist` when getting directory from `try_and_find_git_path`
* Substitute ansi-color coding sequence generated from `vim.fn.systemlist` when getting directory from `try_and_find_git_path`
* create workspaces file
* add workspace numbers to project lines
* add action to change a project's workspace
* add keymapping to change workspace
* separate workspace mappings
* add workspace key mappings to README
* fix luacheck as recommended in
* fix test cases and make them more robust
- add a few assertions
- use `tostring` for the title to make it usable for plenary paths and
regular paths defined as strings (from test cases)
* workspaces are shown on default
Co-authored-by: chrislaidler <cjjlaidler@gmail.com>
* Allow multiple base dirs in config
* Use plenary.scandir instead of find
* change error message to reduce confusion
Co-authored-by: Christopher Laidler <43636691+claidler@users.noreply.github.com>
* refactor: filter out projects whose paths don't exist
* refactor: mark finder title that path is missing
* fix: compare paths not title because it mutates
* refactor: write helper function for changing paths
* Merge branch 'nvim-telescope:master' into feat/filter_missing_project…
* Merge branch 'feat/filter_missing_project_paths' of github.com:logan-…
* test: add test for safe change directory
* feat: add utility for removing missing projects
* test: add test for checking that projects was updated
* docs: update setup docstring
* refactor: also filter out missing projects in get_projects()
* feat: support base_dir option for searching for git repos
* style: fix indentation
* fix: only close file if exists
* fix: explicitly set to false if base_dir not set
* refactor: always initialize project file
* refactor: separate project extraction and project writing
* fix: iterate with pairs and no arg for io.lines
* refactor: restructure, test, and lint
* refactor: use standard telescope file structure
* refactor: utilize utility functions for actions module
* refactor: support max_depth arg for recursive searching
* chore: add Makefile for linting and testing
* test: add utils general tests
* refactor: do not need file_exists function
* test: add tests for creating, writing and reading projects
* chore: move location of tests
* test: add tests for git project scanning
* test: do not need minimal_init.vim now
* test: clean up tests
* refactor: update git projects on setup