chore: pacages 'n stuff

This commit is contained in:
Tine 2024-04-25 20:46:12 +02:00
parent 9fb0d124b4
commit 75d4147dce
Signed by: mentos1386
SSH key fingerprint: SHA256:MNtTsLbihYaWF8j1fkOHfkKNlnN1JQfxEU/rBU8nCGw
3 changed files with 22 additions and 2 deletions

View file

@ -39,9 +39,11 @@
dive
ctop
bottom
tailscale
# Nodejs
nodejs_20
deno
# Golang
go

View file

@ -134,7 +134,7 @@ require("mason-lspconfig").setup({
"bashls", -- bash
"bufls", -- buf
"cssls", -- css
-- "denols", -- deno
"denols", -- deno
"dockerls", -- docker
"docker_compose_language_service", -- docker-compose
"eslint", -- eslint
@ -162,6 +162,24 @@ require("mason-lspconfig").setup({
require("mason-lspconfig").setup_handlers({
function(server_name)
-- DenoLSP and TSServer should not be run
-- at the same time.
-- https://docs.deno.com/runtime/manual/getting_started/setup_your_environment#neovim-06-using-the-built-in-language-server
if server_name == "denols" then
require("lspconfig")[server_name].setup({
capabilities = require("cmp_nvim_lsp").default_capabilities(),
root_dir = require("lspconfig.util").root_pattern("deno.json", "deno.jsonc"),
})
return
end
if server_name == "tsserver" then
require("lspconfig")[server_name].setup({
capabilities = require("cmp_nvim_lsp").default_capabilities(),
root_dir = require("lspconfig.util").root_pattern("package.json"),
single_file_support = false,
})
return
end
require("lspconfig")[server_name].setup({
capabilities = require("cmp_nvim_lsp").default_capabilities(),
})

View file

@ -1,7 +1,7 @@
#!/bin/env bash
source common.sh
echo_header "== DotFiles with GUI: $GUI and ENV: $ENVIRONMENT"
echo_header "== DotFiles with ENV: $ENVIRONMENT"
echo_header "==[host] Installing Home Manager packages"
workspace_link nix/home.nix .config/home-manager/home.nix