Compare commits
2 commits
93571017f7
...
19069aba44
Author | SHA1 | Date | |
---|---|---|---|
19069aba44 | |||
a17eb40eae |
3 changed files with 10 additions and 3 deletions
|
@ -37,7 +37,7 @@ local capabilities = require("cmp_nvim_lsp").default_capabilities()
|
||||||
local lspconfig = require('lspconfig')
|
local lspconfig = require('lspconfig')
|
||||||
|
|
||||||
-- Enable some language servers with the additional completion capabilities offered by nvim-cmp
|
-- 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
|
for _, lsp in ipairs(servers) do
|
||||||
lspconfig[lsp].setup {
|
lspconfig[lsp].setup {
|
||||||
-- on_attach = my_custom_on_attach,
|
-- on_attach = my_custom_on_attach,
|
||||||
|
|
|
@ -137,8 +137,13 @@ export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
|
||||||
export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
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
|
# Autostart Hyprland after all environmental Variables have been declared
|
||||||
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||||
|
|
|
@ -72,13 +72,15 @@ in
|
||||||
"fzf"
|
"fzf"
|
||||||
"git"
|
"git"
|
||||||
"glib"
|
"glib"
|
||||||
|
"glsl_analyzer"
|
||||||
"gnumake"
|
"gnumake"
|
||||||
"gnupg"
|
"gnupg"
|
||||||
"mypy"
|
"mypy"
|
||||||
"neofetch"
|
"neofetch"
|
||||||
"p7zip"
|
"p7zip"
|
||||||
"pinentry"
|
"pinentry"
|
||||||
"typst-lsp"
|
"rust-analyzer"
|
||||||
|
"tinymist"
|
||||||
"unzip"
|
"unzip"
|
||||||
"vhdl-ls"
|
"vhdl-ls"
|
||||||
"vtsls"
|
"vtsls"
|
||||||
|
|
Loading…
Reference in a new issue