diff options
author | pommicket <pommicket@gmail.com> | 2022-12-24 12:02:40 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-24 12:02:40 -0500 |
commit | a6a06900bf7206dc86017bbb1895272ebfac5418 (patch) | |
tree | 2f49cee6002d5d10bb4afc0db18425e5f5dfb38e /ted.h | |
parent | 1c346f2aba30fcb581f20f2b67bd5e6adcb4a7e6 (diff) |
start LSP setting
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -199,6 +199,7 @@ typedef struct { char bg_shader_text[4096]; char bg_shader_image[TED_PATH_MAX]; char root_identifiers[4096]; + char lsp[512]; char build_default_command[256]; // [i] = comma-separated string of file extensions for language i, or NULL for none char *language_extensions[LANG_COUNT]; @@ -519,6 +520,7 @@ void command_execute(Ted *ted, Command c, i64 argument); void ted_switch_to_buffer(Ted *ted, TextBuffer *buffer); // the settings of the active buffer, or the default settings if there is no active buffer Settings *ted_active_settings(Ted *ted); +Settings *ted_get_settings(Ted *ted, const char *path, Language lang); void ted_load_configs(Ted *ted, bool reloading); struct LSP *ted_get_lsp(Ted *ted, const char *path, Language lang); static TextBuffer *find_search_buffer(Ted *ted); |