diff options
author | pommicket <pommicket@gmail.com> | 2022-12-24 00:28:50 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-24 00:28:50 -0500 |
commit | 1c346f2aba30fcb581f20f2b67bd5e6adcb4a7e6 (patch) | |
tree | 863b8ebbd37c67cb4dd0015d5c72a436dd89bc7e /ted.cfg | |
parent | 8d96a4b0f0ebb059a63cc4c3193e0169ccf4f5b5 (diff) |
find build directory in a much better way
this will be useful for LSPs
Diffstat (limited to 'ted.cfg')
-rw-r--r-- | ted.cfg | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -39,6 +39,16 @@ identifier-trigger-characters = off tags-max-depth = 2 # regenerate tags if an identifier is not found (with Ctrl+click)? regenerate-tags-if-not-found = yes +# this variable determines how ted finds the "root directory" of a project for +# running build commands and because LSPs need to know +# FOR EXAMPLE: If you have the file /a/b/c/d.txt open, +# ted will check each of the directories /, /a, /a/b, /a/b/c +# and set the root to whichever one has one of these files, +# breaking ties by order of appearance in the list below. +# So if /a/b/.git and /a/Makefile and /a/b/c/Cargo.toml exist, +# ted will select /a/b as the root. +# if no identifying files are found, the directory containing the current file is used. +root-identifiers = .ted-root.out, Cargo.toml, make.bat, CMakeLists.txt, Makefile, go.mod, .git # you can make your own custom background for ted using a shader. # an example is provided here. you will have access to the following variables: |