From 85e1874a515335a92324f898f46ec38bf371e6f9 Mon Sep 17 00:00:00 2001 From: Mikael Fangel <34864484+MikaelFangel@users.noreply.github.com> Date: Fri, 31 May 2024 16:55:07 +0000 Subject: [PATCH] lsp: init prolog (#85) --- config/default.nix | 5 ++++- config/lsp/default.nix | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config/default.nix b/config/default.nix index 0b9c2e8..35c7afc 100644 --- a/config/default.nix +++ b/config/default.nix @@ -23,8 +23,11 @@ colorschemes.dracula.enable = true; - globals.mapleader = " "; + extraConfigVim = '' + autocmd BufRead,BufNewFile *.pl set filetype=prolog + ''; + globals.mapleader = " "; keymaps = [ # Global # Default mode is "" which means normal-visual-op diff --git a/config/lsp/default.nix b/config/lsp/default.nix index 502413e..5560209 100644 --- a/config/lsp/default.nix +++ b/config/lsp/default.nix @@ -10,6 +10,7 @@ gopls.enable = true; kotlin-language-server.enable = true; nixd.enable = true; + prolog-ls.enable = true; ruff-lsp.enable = true; }; keymaps.lspBuf = {