mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2024-10-17 20:52:40 +00:00
Add GO
This commit is contained in:
parent
76f4bc7cf4
commit
5b65b05c2a
3 changed files with 10 additions and 4 deletions
|
@ -2,9 +2,10 @@
|
||||||
|
|
||||||
# Get the aliases and functions
|
# Get the aliases and functions
|
||||||
if [ -f ~/.bashrc ]; then
|
if [ -f ~/.bashrc ]; then
|
||||||
. ~/.bashrc
|
. ~/.bashrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# User specific environment and startup programs
|
# User specific environment and startup programs
|
||||||
|
|
||||||
PATH="$HOME/.npm-global/bin:$PATH:$HOME/.cargo/bin"
|
export GOPATH="$HOME/go"
|
||||||
|
export PATH="$HOME/.npm-global/bin:$PATH:$HOME/.cargo/bin:$GOPATH/bin"
|
||||||
|
|
|
@ -3,8 +3,8 @@ if status is-interactive
|
||||||
set -g fish_greeting
|
set -g fish_greeting
|
||||||
|
|
||||||
# Interactive environment variables
|
# Interactive environment variables
|
||||||
set -x EDITOR /usr/bin/nvim
|
set -gx EDITOR /usr/bin/nvim
|
||||||
set -x JULIA_NUM_THREADS 16
|
set -gx JULIA_NUM_THREADS 16
|
||||||
|
|
||||||
# Setup
|
# Setup
|
||||||
## Zoxide
|
## Zoxide
|
||||||
|
|
|
@ -61,6 +61,11 @@ lspconfig["clangd"].setup({
|
||||||
on_attach = on_attach_with_formatting,
|
on_attach = on_attach_with_formatting,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
lspconfig["gopls"].setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
on_attach = on_attach_with_formatting,
|
||||||
|
})
|
||||||
|
|
||||||
-- null-ls
|
-- null-ls
|
||||||
local null_ls = require("null-ls")
|
local null_ls = require("null-ls")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue