This commit is contained in:
Christoffer Martinsson 2024-04-14 10:21:57 +02:00
parent 18fd281fa4
commit 9399c20b32
3 changed files with 145 additions and 133 deletions

View File

@ -68,7 +68,6 @@ vim.api.nvim_create_autocmd(
{ pattern = "*", command = "set nocursorline", group = cursorLineGrp }
)
-- Auto format on save
vim.cmd [[autocmd BufWritePre * lua vim.lsp.buf.format()]]
@ -165,18 +164,18 @@ require('lazy').setup({
"simrat39/rust-tools.nvim",
},
-- {
-- "ray-x/lsp_signature.nvim",
-- config = function()
-- require "lsp_signature".setup {
-- bind = true, -- This is mandatory, otherwise border config won't get registered.
-- handler_opts = {
-- border = "solid"
-- }
-- }
-- end
-- },
--
{
"ray-x/lsp_signature.nvim",
config = function()
require "lsp_signature".setup {
bind = true, -- This is mandatory, otherwise border config won't get registered.
handler_opts = {
border = "solid"
}
}
end
},
{
"jay-babu/mason-null-ls.nvim",
event = { "BufReadPre", "BufNewFile" },

View File

@ -1,2 +1,14 @@
#!/bin/bash
nvim
# Start virtual here client in non-service mode
sudo vhclientx86_64 &
vhclientx86_64 -t LIST
tmux rename-window "BASH"
# Check if the projects directory exists, if not create it
if [ ! -d ~/projects ]; then
mkdir ~/projects
fi
# Start nvim in projects directory
cd ~/projects
tmux new-window -n "NVIM" nvim

View File

@ -30,6 +30,7 @@ wget https://www.virtualhere.com/sites/default/files/usbclient/scripts/virtualhe
wget https://www.virtualhere.com/sites/default/files/usbclient/vhclientx86_64
chmod +x ./vhclientx86_64
sudo mv ./vhclientx86_64 /usr/sbin
echo "$USER ALL=(ALL:ALL) NOPASSWD: /usr/sbin/vhclientx86_64" | sudo tee /etc/sudoers.d/$USER+vhclientx86_64
# sudo mv virtualhereclient.service /etc/systemd/system/virtualhereclient.service
# sudo systemctl daemon-reload
# sudo systemctl enable virtualhereclient.service