From 9602ae4d8582c3ccdb9e8c1561ad306491713be4 Mon Sep 17 00:00:00 2001 From: pommicket Date: Sun, 25 Dec 2022 21:55:42 -0500 Subject: global lsp-enabled setting --- ted.cfg | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ted.cfg') 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 -- cgit v1.2.3