Compare commits

...

2 commits

Author SHA1 Message Date
19069aba44
zsh: add nixos-rebuild aliases 2024-12-18 07:48:02 +00:00
a17eb40eae
nvim: typst_lsp -> tinymist && glsl_analyzer 2024-12-18 07:47:12 +00:00
3 changed files with 10 additions and 3 deletions

View file

@ -37,7 +37,7 @@ local capabilities = require("cmp_nvim_lsp").default_capabilities()
local lspconfig = require('lspconfig')
-- Enable some language servers with the additional completion capabilities offered by nvim-cmp
local servers = { 'clangd', 'rust_analyzer', 'typst_lsp', 'vhdl_ls', 'vtsls' }
local servers = { 'clangd', 'glsl_analyzer', 'rust_analyzer', 'tinymist', 'vhdl_ls', 'vtsls' }
for _, lsp in ipairs(servers) do
lspconfig[lsp].setup {
-- on_attach = my_custom_on_attach,

View file

@ -137,8 +137,13 @@ export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
export CARGO_HOME="$XDG_DATA_HOME"/cargo
alias dosbox="dosbox -conf "$XDG_CONFIG_HOME"/dosbox/dosbox.conf "
alias dosbox="dosbox -conf $XDG_CONFIG_HOME/dosbox/dosbox.conf"
alias rbs="reconfig switch"
alias rbb="reconfig build"
reconfig() {
sudo nixos-rebuild --flake "/etc/nixos#$(cat /etc/hostname)" "$@"
}
# Autostart Hyprland after all environmental Variables have been declared
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then

View file

@ -72,13 +72,15 @@ in
"fzf"
"git"
"glib"
"glsl_analyzer"
"gnumake"
"gnupg"
"mypy"
"neofetch"
"p7zip"
"pinentry"
"typst-lsp"
"rust-analyzer"
"tinymist"
"unzip"
"vhdl-ls"
"vtsls"