mirror of
https://github.com/mentos1386/dotfiles.git
synced 2024-11-26 00:57:50 +00:00
chore: pacages 'n stuff
This commit is contained in:
parent
9fb0d124b4
commit
75d4147dce
3 changed files with 22 additions and 2 deletions
|
@ -39,9 +39,11 @@
|
||||||
dive
|
dive
|
||||||
ctop
|
ctop
|
||||||
bottom
|
bottom
|
||||||
|
tailscale
|
||||||
|
|
||||||
# Nodejs
|
# Nodejs
|
||||||
nodejs_20
|
nodejs_20
|
||||||
|
deno
|
||||||
|
|
||||||
# Golang
|
# Golang
|
||||||
go
|
go
|
||||||
|
|
|
@ -134,7 +134,7 @@ require("mason-lspconfig").setup({
|
||||||
"bashls", -- bash
|
"bashls", -- bash
|
||||||
"bufls", -- buf
|
"bufls", -- buf
|
||||||
"cssls", -- css
|
"cssls", -- css
|
||||||
-- "denols", -- deno
|
"denols", -- deno
|
||||||
"dockerls", -- docker
|
"dockerls", -- docker
|
||||||
"docker_compose_language_service", -- docker-compose
|
"docker_compose_language_service", -- docker-compose
|
||||||
"eslint", -- eslint
|
"eslint", -- eslint
|
||||||
|
@ -162,6 +162,24 @@ require("mason-lspconfig").setup({
|
||||||
|
|
||||||
require("mason-lspconfig").setup_handlers({
|
require("mason-lspconfig").setup_handlers({
|
||||||
function(server_name)
|
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({
|
require("lspconfig")[server_name].setup({
|
||||||
capabilities = require("cmp_nvim_lsp").default_capabilities(),
|
capabilities = require("cmp_nvim_lsp").default_capabilities(),
|
||||||
})
|
})
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/env bash
|
#!/bin/env bash
|
||||||
|
|
||||||
source common.sh
|
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"
|
echo_header "==[host] Installing Home Manager packages"
|
||||||
workspace_link nix/home.nix .config/home-manager/home.nix
|
workspace_link nix/home.nix .config/home-manager/home.nix
|
||||||
|
|
Loading…
Reference in a new issue