jadestrong / lsp-copilot

An LSP client for Emacs implemented in Rust.
GNU General Public License v3.0
12 stars 0 forks source link

Custom configuration path #3

Closed nanakura closed 1 hour ago

nanakura commented 2 hours ago

lsp的toml配置路径默认在~/.config/emacs/.local/cache下,不是很方便同步到dotfiles里,能不能指定配置的路径,比如放到doom配置的文件夹里

jadestrong commented 2 hours ago

你自己自定义下这个 lsp-copilot-user-languages-config 变量应该就可以

jadestrong commented 2 hours ago

比如这样: (setq lsp-copilot-user-languages-config (expand-file-name (concat doom-user-dir (file-name-as-directory "lsp-copilot") "languages.toml")))