packages: Add polylux and pdfpc
This commit is contained in:
parent
b9c687d62e
commit
7e65c8e62a
22 changed files with 506 additions and 164 deletions
|
|
@ -22,7 +22,7 @@
|
|||
nixpkgs-fmt
|
||||
crate2nix
|
||||
ruff-lsp
|
||||
nodePackages.pyright
|
||||
pyright
|
||||
lemminx
|
||||
marksman
|
||||
clang-tools_18
|
||||
|
|
@ -42,12 +42,15 @@
|
|||
cmp-nvim-lsp
|
||||
cmp-path
|
||||
cmp_luasnip
|
||||
cmp-async-path
|
||||
conform-nvim
|
||||
dashboard-nvim
|
||||
dressing-nvim
|
||||
flash-nvim
|
||||
friendly-snippets
|
||||
gitsigns-nvim
|
||||
git-conflict-nvim
|
||||
ltex_extra-nvim
|
||||
indent-blankline-nvim
|
||||
lualine-nvim
|
||||
neo-tree-nvim
|
||||
|
|
@ -56,6 +59,12 @@
|
|||
noice-nvim
|
||||
nui-nvim
|
||||
nvim-cmp
|
||||
nvim-dap
|
||||
nvim-dap-ui
|
||||
nvim-dap-python
|
||||
nvim-dap-go
|
||||
nvim-dap-virtual-text
|
||||
nvim-nio
|
||||
nvim-lint
|
||||
nvim-lspconfig
|
||||
nvim-notify
|
||||
|
|
@ -67,6 +76,22 @@
|
|||
nvim-ts-context-commentstring
|
||||
nvim-web-devicons
|
||||
nvim-jdtls
|
||||
rustaceanvim
|
||||
typst-vim
|
||||
instant-nvim
|
||||
git-blame-nvim
|
||||
neoscroll-nvim
|
||||
mason-nvim
|
||||
neotest
|
||||
neotest-zig
|
||||
neotest-python
|
||||
neotest-rust
|
||||
neotest-java
|
||||
neotest-haskell
|
||||
neotest-go
|
||||
neotest-dotnet
|
||||
neotest-bash
|
||||
neotest-dart
|
||||
omnisharp-extended-lsp-nvim
|
||||
neotest
|
||||
neotest-java
|
||||
|
|
@ -75,7 +100,23 @@
|
|||
plenary-nvim
|
||||
telescope-fzf-native-nvim
|
||||
telescope-nvim
|
||||
telescope-zoxide
|
||||
telescope-file-browser-nvim
|
||||
telescope-project-nvim
|
||||
todo-comments-nvim
|
||||
vimtex
|
||||
inc-rename-nvim
|
||||
headlines-nvim
|
||||
diffview-nvim
|
||||
crates-nvim
|
||||
cmake-tools-nvim
|
||||
clangd_extensions-nvim
|
||||
alpha-nvim
|
||||
vim-visual-multi
|
||||
ts-comments-nvim
|
||||
nvim-tree-lua
|
||||
nvim-snippets
|
||||
markdown-preview-nvim
|
||||
tokyonight-nvim
|
||||
trouble-nvim
|
||||
vim-illuminate
|
||||
|
|
@ -84,7 +125,6 @@
|
|||
haskell-tools-nvim
|
||||
Ionide-vim
|
||||
{ name = "LuaSnip"; path = luasnip; }
|
||||
#{ name = "catppuccin"; path = catppuccin-nvim; }
|
||||
{ name = "mini.ai"; path = mini-nvim; }
|
||||
{ name = "mini.bufremove"; path = mini-nvim; }
|
||||
{ name = "mini.comment"; path = mini-nvim; }
|
||||
|
|
@ -131,8 +171,8 @@
|
|||
{ import = "lazyvim.plugins.extras.lang.java" },
|
||||
{ import = "lazyvim.plugins.extras.lang.go" },
|
||||
{ import = "lazyvim.plugins.extras.lang.clangd" },
|
||||
{ import = "lazyvim.plugins.extras.lang.typescript" },
|
||||
{ import = "lazyvim.plugins.extras.lang.python" },
|
||||
-- { import = "lazyvim.plugins.extras.lang.typescript" },
|
||||
-- { import = "lazyvim.plugins.extras.lang.python" },
|
||||
{ import = "lazyvim.plugins.extras.lang.markdown" },
|
||||
{ import = "lazyvim.plugins.extras.lang.cmake" },
|
||||
{ import = "lazyvim.plugins.extras.lang.omnisharp" },
|
||||
|
|
@ -145,7 +185,7 @@
|
|||
{ "williamboman/mason-lspconfig.nvim", enabled = false },
|
||||
--{ "williamboman/mason.nvim", enabled = false },
|
||||
-- treesitter handled by xdg.configFile."nvim/parser", put this line at the end of spec to clear ensure_installed
|
||||
{ "nvim-treesitter/nvim-treesitter", opts = { ensure_installed = {} } },
|
||||
--{ "nvim-treesitter/nvim-treesitter", opts = { ensure_installed = {} } },
|
||||
{ import = "plugins" },
|
||||
{ import = "plugins.plugins" },
|
||||
},
|
||||
|
|
|
|||
69
nix/programs/nvim/flake.lock
generated
Normal file
69
nix/programs/nvim/flake.lock
generated
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
"nodes": {
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717285511,
|
||||
"narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717316182,
|
||||
"narHash": "sha256-Xi0EpZcu39N0eW7apLjFfUOR9y80toyjYizez7J1wMI=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "9b53a10f4c91892f5af87cf55d08fba59ca086af",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1717196966,
|
||||
"narHash": "sha256-yZKhxVIKd2lsbOqYd5iDoUIwsRZFqE87smE2Vzf6Ck0=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "57610d2f8f0937f39dbd72251e9614b1561942d8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts",
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
31
nix/programs/nvim/flake.nix
Normal file
31
nix/programs/nvim/flake.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
description = "Dashies neovim config";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
flake-parts = {
|
||||
url = "github:hercules-ci/flake-parts";
|
||||
inputs.nixpkgs-lib.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs =
|
||||
{ ...
|
||||
}@inputs:
|
||||
let
|
||||
pkgs = import inputs.nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
overlays = [
|
||||
inputs.nur.overlay
|
||||
];
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = [ ./default.nix { inherit pkgs; } ];
|
||||
};
|
||||
}
|
||||
|
|
@ -5,7 +5,6 @@ local function open_nvim_tree(data)
|
|||
if not directory then
|
||||
return
|
||||
end
|
||||
print("FUCK")
|
||||
-- change to the directory
|
||||
vim.cmd.cd(data.file)
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ require("lazy").setup({
|
|||
lazy = true,
|
||||
version = false,
|
||||
},
|
||||
install = { colorscheme = { "tokyonight", "catppuccin-mocha" } },
|
||||
checker = { enabled = true, notify = false },
|
||||
change_detection = { enabled = true, notify = false },
|
||||
performance = {
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ return {
|
|||
"FelipeLema/cmp-async-path",
|
||||
"saadparwaiz1/cmp_luasnip",
|
||||
"Saecki/crates.nvim",
|
||||
{ "roobert/tailwindcss-colorizer-cmp.nvim", config = true },
|
||||
},
|
||||
opts = function()
|
||||
vim.api.nvim_set_hl(0, "CmpGhostText", { link = "Comment", default = true })
|
||||
|
|
|
|||
|
|
@ -25,9 +25,6 @@ return {
|
|||
-- LSP Server Settings
|
||||
---@type lspconfig.options
|
||||
servers = {
|
||||
rust_analyzer = {
|
||||
mason = false,
|
||||
},
|
||||
marksman = {
|
||||
mason = false,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ return {
|
|||
"LazyVim/LazyVim",
|
||||
opts = {
|
||||
colorscheme = "tokyonight-night",
|
||||
-- colorscheme = "catppuccin-mocha",
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -94,21 +93,26 @@ return {
|
|||
},
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = {
|
||||
textobjects = {
|
||||
select = {
|
||||
enable = true,
|
||||
lookahead = true,
|
||||
keymaps = {
|
||||
-- You can use the capture groups defined in textobjects.scm
|
||||
["af"] = "@function.outer",
|
||||
["if"] = "@function.inner",
|
||||
["ac"] = "@class.outer",
|
||||
["ic"] = "@class.inner",
|
||||
config = function(_, _)
|
||||
local opts = {
|
||||
ensure_installed = {},
|
||||
-- parser_install_dir = "~/.config/nvim",
|
||||
textobjects = {
|
||||
select = {
|
||||
enable = true,
|
||||
lookahead = true,
|
||||
keymaps = {
|
||||
-- You can use the capture groups defined in textobjects.scm
|
||||
["af"] = "@function.outer",
|
||||
["if"] = "@function.inner",
|
||||
["ac"] = "@class.outer",
|
||||
["ic"] = "@class.inner",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
require("nvim-treesitter.configs").setup(opts)
|
||||
end,
|
||||
},
|
||||
{
|
||||
"karb94/neoscroll.nvim",
|
||||
|
|
@ -162,7 +166,7 @@ return {
|
|||
},
|
||||
{
|
||||
"barreiroleo/ltex_extra.nvim",
|
||||
ft = { "markdown", "tex", "typst", "typ" },
|
||||
ft = { "tex", "typst", "typ" },
|
||||
lazy = true,
|
||||
},
|
||||
{
|
||||
|
|
@ -256,13 +260,6 @@ return {
|
|||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"DashieTM/test_plugin",
|
||||
lazy = false,
|
||||
opts = {
|
||||
what = 0,
|
||||
},
|
||||
},
|
||||
{
|
||||
"DreamMaoMao/yazi.nvim",
|
||||
dependencies = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue