[feat] Update to latest

This commit is contained in:
uttarayan21
2024-03-13 03:15:23 +05:30
parent 5b83bd79c0
commit 3d2ef975b8
5 changed files with 77 additions and 62 deletions

View File

@@ -15,9 +15,9 @@ in
home.packages = with pkgs;
[
gnupg
gpg-tui
# gpg-tui
comma
neovide
# neovide
sqls
vcpkg
file
@@ -29,7 +29,7 @@ in
just
jq
tldr
spotify-player
# spotify-player
bottom
qmk
nodejs

View File

@@ -3,8 +3,6 @@
programs.nixneovim = {
enable = true;
options = {
foldexpr = "nvim_treesitter#foldexpr()";
foldmethod = "expr";
number = true;
relativenumber = true;
tabstop = 4;
@@ -48,7 +46,7 @@
lua-language-server.enable = true;
jsonls.enable = true;
html.enable = true;
pylyzer.enable = true;
# pylyzer.enable = true;
sqls = {
enable = true;
onAttachExtra =
@@ -60,7 +58,7 @@
# rust-analyzer.enable = true;
};
extraLua.pre =
# lua
/* lua */
''
local lsp_zero = require'lsp-zero'
local lspconfig = require 'lspconfig'
@@ -88,6 +86,7 @@
enable = true;
autoStart = true;
};
treesitter-context.enable = true;
ts-context-commentstring.enable = true;
treesitter = {
@@ -97,9 +96,10 @@
refactor = {
smartRename = {
enable = true;
keymaps = { smartRename = "<leader>rn"; };
};
};
grammars = [ pkgs.tree-sitter-grammars.tree-sitter-just ];
installAllGrammars = true;
};
mini = {
@@ -177,18 +177,6 @@
trouble-nvim
crates-nvim
sqls-nvim
# (nvim-treesitter.withPlugins (_: nvim-treesitter.allGrammars ++ [
# (pkgs.tree-sitter.buildGrammar {
# language = "just";
# version = "8af0aab";
# src = pkgs.fetchFromGitHub {
# owner = "IndianBoy42";
# repo = "tree-sitter-just";
# rev = "8af0aab79854aaf25b620a52c39485849922f766";
# sha256 = "sha256-hYKFidN3LHJg2NLM1EiJFki+0nqi1URnoLLPknUbFJY=";
# };
# })
# ]))
# No more postman
rest-nvim