Compare commits

..

7 Commits

  1. 1
      nix-darwin/home.nix
  2. 2
      nvchad/.config/nvim/lua/configs/lspconfig.lua
  3. 8
      nvchad/.config/nvim/lua/plugins/init.lua

@ -245,6 +245,7 @@
cr = "cd $(git rev-parse --show-toplevel)";
nd = "nix develop -c $SHELL";
ls = "ls --color";
gac = "git add -A && git commit -m";
};
oh-my-zsh = {
enable = true;

@ -3,7 +3,7 @@ local on_init = require("nvchad.configs.lspconfig").on_init
local capabilities = require("nvchad.configs.lspconfig").capabilities
local lspconfig = require("lspconfig")
local servers = { "html", "cssls", "tsserver", "clangd", "vhdl_ls", "hls", "tailwindcss", "pyright", "julials" }
local servers = { "html", "cssls", "tsserver", "clangd", "rust_analyzer", "vhdl_ls", "hls", "tailwindcss", "pyright", "julials" }
-- lsps with default config
for _, lsp in ipairs(servers) do

@ -30,6 +30,9 @@ local plugins = {
-- c/cpp stuff
"clangd",
"clang-format",
-- rust
"rust-analyzer",
},
},
},
@ -76,6 +79,9 @@ local plugins = {
-- Divine Intellect Languages
lua = { "stylua" },
-- rust
rust = { "rustfmt" },
-- Web Dev shit
javascript = { "prettier" },
typescript = { "prettier" },
@ -132,6 +138,8 @@ local plugins = {
"haskell",
"python",
"zig",
"rust",
"vhdl",
},
indent = {
enable = true,

Loading…
Cancel
Save