Skip to content

Commit

Permalink
updated config
Browse files Browse the repository at this point in the history
  • Loading branch information
fbosch committed Jul 26, 2024
1 parent ad0f092 commit 23c8c89
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .config/fish/aliases.fish
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function ld
ls -l --sort=date --ignore-glob="node_modules" -D --time-style=relative $argv
end
function lt
exa --tree -m --git --level=2 --ignore-glob="node_modules" $argv
eza --tree -m --git --level=2 --ignore-glob="node_modules" $argv
end


Expand Down
6 changes: 3 additions & 3 deletions .config/fish/scripts.fish
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,19 @@ end
function toggle_proxy
set current_status (networksetup -getwebproxy "Wi-Fi" | grep Enabled | cut -d " " -f 2 | head -1)
if test "$current_status" = No
echo (set_color green)"🌐 Turning the proxy on "(set_color normal)
echo (set_color green)" 🌐 Turning the proxy on "(set_color normal)
networksetup -setwebproxystate Wi-Fi on
networksetup -setsecurewebproxystate Wi-Fi on
else
echo (set_color red)"🌐 Turning the proxy off "(set_color normal)
echo (set_color red)" 🌐 Turning the proxy off "(set_color normal)
networksetup -setwebproxystate Wi-Fi off
networksetup -setsecurewebproxystate Wi-Fi off
end
end

function proxy_status

echo (set_color blue)"🌐 Proxy status "(set_color normal)
echo (set_color blue)" 🌐 Proxy status "(set_color normal)
echo "HTTP: "
networksetup -getwebproxy Wi-Fi | grep Enabled | cut -d " " -f 2 | head -1
echo "HTTPS: "
Expand Down
4 changes: 2 additions & 2 deletions .config/nvim/lua/plugins/colorscheme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ return {
hl(0, "TreesitterContextBottom", { bg = colors.darkest_gray, underline = true, sp = colors.dark_gray })

-- leap
hl(0, "LeapMatch", { fg = colors.blue, underline = true })
hl(0, "LeapLabelPrimary", { fg = colors.purple, underline = true })
-- hl(0, "LeapMatch", { fg = colors.blue, underline = true })
-- hl(0, "LeapLabelPrimary", { fg = colors.purple, underline = true })
end,
}
2 changes: 1 addition & 1 deletion .config/nvim/lua/plugins/editor/cmp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ return {
"L3MON4D3/LuaSnip",
"nvim-lua/plenary.nvim",
"onsails/lspkind.nvim",
"hrsh7th/nvim-cmp",
"hrsh6th/nvim-cmp",
"f3fora/cmp-spell",
{
"hrsh7th/cmp-nvim-lua",
Expand Down
8 changes: 8 additions & 0 deletions .config/nvim/lua/plugins/editor/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ return {
},
"williamboman/mason-lspconfig.nvim",
"WhoIsSethDaniel/mason-tool-installer.nvim",
{ "yioneko/nvim-vtsls", ft = { "typescript", "typescriptreact" } },
{ "folke/neodev.nvim", ft = { "lua" }, opts = {} },
},
keys = {
Expand Down Expand Up @@ -171,6 +172,7 @@ return {
html = {},
marksman = {},
dockerls = {},
vtsls = {},
docker_compose_language_service = {},
tailwindcss = {
cmd = { "tailwindcss-language-server", "--stdio" },
Expand Down Expand Up @@ -231,6 +233,12 @@ return {
return
end

if server_name == "vtsls" then
local vtsls = require("vtsls")
lspconfig.vtsls.setup(vtsls.lspconfig)
return
end

if server_name == "eslint" then
lspconfig.eslint.setup({
on_attach = on_attach,
Expand Down
10 changes: 10 additions & 0 deletions .config/nvim/spell/en.utf-8.add
Original file line number Diff line number Diff line change
Expand Up @@ -1221,3 +1221,13 @@ th
é
œ
ng
showToday
amortList
additionalPayment
paymentSize
DKK
amort
in-term
dueDate
payDate
companyId
Binary file modified .config/nvim/spell/en.utf-8.add.spl
Binary file not shown.

0 comments on commit 23c8c89

Please sign in to comment.