From 1e1f23e200cf688d93b2de8900fcc7b9f9ed8442 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Sun, 7 May 2023 21:50:18 +0200 Subject: [PATCH] use commonlisp filetype for CL --- mzte-nv/conf/filetype.fnl | 4 +++- mzte-nv/conf/lua/pluginconf/p-lspconf.fnl | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mzte-nv/conf/filetype.fnl b/mzte-nv/conf/filetype.fnl index e12d716..6a43212 100644 --- a/mzte-nv/conf/filetype.fnl +++ b/mzte-nv/conf/filetype.fnl @@ -7,4 +7,6 @@ :rktl :racket :rktd :racket ;; nvim doesn't know zon - :zon :zig}}) + :zon :zig + ;; Default to Common Lisp instead of just using generic Lisp + :lisp :commonlisp}}) diff --git a/mzte-nv/conf/lua/pluginconf/p-lspconf.fnl b/mzte-nv/conf/lua/pluginconf/p-lspconf.fnl index 46f4fc3..c797e8b 100644 --- a/mzte-nv/conf/lua/pluginconf/p-lspconf.fnl +++ b/mzte-nv/conf/lua/pluginconf/p-lspconf.fnl @@ -11,7 +11,7 @@ `((. lspc ,conf :setup) ,args)) (tset lsp-configs :cl-lsp {:default_config {:cmd [:cl-lsp] - :filetypes [:lisp] + :filetypes [:lisp :commonlisp] :root_dir lspc.util.find_git_ancestor :single_file_support true} :settings {}})