summaryrefslogtreecommitdiff
path: root/ted.cfg
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-25 21:55:42 -0500
committerpommicket <pommicket@gmail.com>2022-12-25 21:55:42 -0500
commit9602ae4d8582c3ccdb9e8c1561ad306491713be4 (patch)
treef3f02a332daa19ace69dbc9c0a9a63be85a41ad9 /ted.cfg
parent4bd6bbe54b291d8d65997e998a2a3946293adcdf (diff)
global lsp-enabled setting
Diffstat (limited to 'ted.cfg')
-rw-r--r--ted.cfg7
1 files changed, 5 insertions, 2 deletions
diff --git a/ted.cfg b/ted.cfg
index df79a5f..e4a6b1b 100644
--- a/ted.cfg
+++ b/ted.cfg
@@ -33,6 +33,9 @@ restore-session = on
trigger-characters = on
# should all identifier characters (e.g. a-z) be treated as trigger characters?
identifier-trigger-characters = off
+# enable LSP support (for autocompletion, etc.)
+# you can also set `lsp = ""` but this is a quick way to disable LSP servers for all langauges
+lsp-enabled = yes
# search depth for files to generate tags for.
# if set to 0, tag generation/regeneration will do nothing
@@ -40,7 +43,7 @@ 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
+# running build commands and because LSP servers 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,
@@ -123,7 +126,7 @@ Ctrl+a = :select-all
Tab = :tab
Shift+Tab = :backtab
Enter = :newline
-# same as :newline for normal text insertion, but goes to the previous search result instead of the next one
+# same as :newline for normal text insertion, but goes to the previous search result instead of the next one for find+replace
Shift+Enter = :newline-back
Keypad Enter = :newline
Shift+Keypad Enter = :newline-back