Compare commits

...

7 Commits

  1. 11
      nix-darwin/home.nix
  2. 4
      nvchad/.config/nvim/lua/chadrc.lua
  3. 15
      nvchad/.config/nvim/lua/configs/lspconfig.lua
  4. 28
      nvchad/.config/nvim/lua/plugins/init.lua

@ -161,11 +161,12 @@
python3 python3
python312Packages.pip python312Packages.pip
# scala # Scala
metals # metals # handled by coursier
scalafmt scalafmt
sbt sbt
coursier coursier
jdk
# formatters # formatters
shfmt shfmt
@ -236,6 +237,9 @@
# GHCup # GHCup
export PATH="$PATH:$HOME/.ghcup/bin" export PATH="$PATH:$HOME/.ghcup/bin"
# CS (Scala)
export PATH="$PATH:$HOME/Library/Application Support/Coursier/bin"
# Super hacky and fucking stupid way of doing things - stuff # Super hacky and fucking stupid way of doing things - stuff
# export PATH="/opt/homebrew/opt/llvm/bin:$PATH" # export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
# export LDFLAGS="-L/opt/homebrew/opt/llvm/lib $LDFLAGS" # export LDFLAGS="-L/opt/homebrew/opt/llvm/lib $LDFLAGS"
@ -301,6 +305,9 @@
# Window status styling # Window status styling
set-window-option -g window-status-style fg=colour244,bg=default set-window-option -g window-status-style fg=colour244,bg=default
set-window-option -g window-status-current-style fg=colour166,bg=default set-window-option -g window-status-current-style fg=colour166,bg=default
# Truecolor support
set-option -sa terminal-overrides ",xterm*:Tc"
''; '';
}; };

@ -37,8 +37,8 @@ end
M = { M = {
base46 = { base46 = {
theme = "onenord", theme = "ayu_dark",
theme_toggle = { "onenord", "blossom_light" }, theme_toggle = { "ayu_dark", "ayu_light" },
}, },
ui = { ui = {
hl_override = highlights.override, hl_override = highlights.override,

@ -14,7 +14,6 @@ local servers = {
"tailwindcss", "tailwindcss",
"pyright", "pyright",
"julials", "julials",
"metals",
} }
-- lsps with default config -- lsps with default config
@ -25,3 +24,17 @@ for _, lsp in ipairs(servers) do
capabilities = capabilities, capabilities = capabilities,
}) })
end end
lspconfig.metals.setup({
settings = {
showImplicitArguments = true,
excludedPackages = { "akka.actor.typed.javadsl", "com.github.swagger.akka.javadsl" },
},
init_options = {
statusBarProvider = "on",
},
-- on_attach = function(client, bufnr)
-- -- Add your keybindings and other on_attach functions here
-- end,
})

@ -140,6 +140,7 @@ local plugins = {
"zig", "zig",
"rust", "rust",
"vhdl", "vhdl",
"scala",
}, },
indent = { indent = {
enable = true, enable = true,
@ -157,29 +158,10 @@ local plugins = {
-- end, -- end,
}, },
-- { {
-- "numToStr/Comment.nvim", "NvChad/nvim-colorizer.lua",
-- dependencies = "JoosepAlviste/nvim-ts-context-commentstring", enabled = true
-- config = function() },
-- require("Comment").setup({
-- pre_hook = require("ts_context_commentstring.integrations.comment_nvim").create_pre_hook(),
-- })
-- end,
-- },
-- To make a plugin not be loaded
-- {
-- "NvChad/nvim-colorizer.lua",
-- enabled = false
-- },
-- All NvChad plugins are lazy-loaded by default
-- For a plugin to be loaded, you will need to set either `ft`, `cmd`, `keys`, `event`, or set `lazy = false`
-- If you want a plugin to load on startup, add `lazy = false` to a plugin spec, for example
-- {
-- "mg979/vim-visual-multi",
-- lazy = false,
-- }
} }
return plugins return plugins

Loading…
Cancel
Save