From 855ee6fe93e074f2329a0a0914fef16a94ebbaa8 Mon Sep 17 00:00:00 2001 From: Michael Chalupiak Date: Tue, 12 Nov 2024 19:24:28 -0500 Subject: [PATCH] hls --- config/.bash_profile | 9 +++++++++ config/.bashrc | 3 ++- config/.config/nvim/after/plugin/lsp.lua | 2 ++ config/.profile | 1 + 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/config/.bash_profile b/config/.bash_profile index 9429ccb..98876db 100644 --- a/config/.bash_profile +++ b/config/.bash_profile @@ -6,3 +6,12 @@ source ~/.bashrc # Added by Toolbox App export PATH="$PATH:/home/mikec/.local/share/JetBrains/Toolbox/scripts" + + +# BEGIN opam configuration +# This is useful if you're using opam as it adds: +# - the correct directories to the PATH +# - auto-completion for the opam binary +# This section can be safely removed at any time if needed. +test -r '/home/mikec/.opam/opam-init/init.sh' && . '/home/mikec/.opam/opam-init/init.sh' > /dev/null 2> /dev/null || true +# END opam configuration diff --git a/config/.bashrc b/config/.bashrc index 4dc2db7..4369dcf 100644 --- a/config/.bashrc +++ b/config/.bashrc @@ -171,4 +171,5 @@ alias ssh='TERM="xterm-256color" ssh' export DISABLE_TELEMETRY=YES -[ -f "/home/mikec/.ghcup/env" ] && . "/home/mikec/.ghcup/env" # ghcup-env + +[ -f "/home/mikec/.ghcup/env" ] && . "/home/mikec/.ghcup/env" # ghcup-env \ No newline at end of file diff --git a/config/.config/nvim/after/plugin/lsp.lua b/config/.config/nvim/after/plugin/lsp.lua index 3feb871..885ea7d 100755 --- a/config/.config/nvim/after/plugin/lsp.lua +++ b/config/.config/nvim/after/plugin/lsp.lua @@ -27,6 +27,8 @@ lsp_config.nim_langserver.setup{ } } +lsp_config.hls.setup{} + local cmp = require("cmp") local cmp_select = {behavior = cmp.SelectBehavior.Select} local cmp_mappings = lsp.defaults.cmp_mappings({ diff --git a/config/.profile b/config/.profile index ac4aae2..d56d937 100644 --- a/config/.profile +++ b/config/.profile @@ -9,4 +9,5 @@ fi export PATH="$PATH:/home/mikec/.local/share/JetBrains/Toolbox/scripts" + [ -f "/home/mikec/.ghcup/env" ] && . "/home/mikec/.ghcup/env" # ghcup-env \ No newline at end of file