Added some more git stuff I guess
This commit is contained in:
parent
db117a39bb
commit
8594b5da11
|
@ -44,7 +44,11 @@ function M.setup()
|
|||
"easymotion/vim-easymotion", -- removes the need for spamming w or e
|
||||
"tpope/vim-surround", -- work with brackets, quotes, tags, etc
|
||||
"MunifTanjim/nui.nvim", -- ui stuff required by idris2
|
||||
"ShinKage/idris2-nvim" -- idris2 support
|
||||
"ShinKage/idris2-nvim", -- idris2 support
|
||||
"udalov/kotlin-vim", -- kotlin support
|
||||
-- Git stuff
|
||||
"ruifm/gitlinker.nvim", -- generate permalinks for code
|
||||
"TimUntersberger/neogit" -- magit clone
|
||||
}
|
||||
|
||||
for _, v in ipairs(themePackages) do
|
||||
|
|
|
@ -3,7 +3,10 @@ local M = {}
|
|||
|
||||
function M.setup()
|
||||
require('nvim-autopairs').setup()
|
||||
--
|
||||
require "gitlinker".setup()
|
||||
require('neogit').setup()
|
||||
|
||||
|
||||
vscode.unless(function()
|
||||
require("presence"):setup({})
|
||||
require("my.plugins.dashboard").setup()
|
||||
|
@ -14,13 +17,14 @@ function M.setup()
|
|||
require("my.plugins.nvim-tree").setup()
|
||||
require("my.plugins.vimtex").setup()
|
||||
require("my.plugins.lean").setup()
|
||||
require("my.plugins.lualine").setup()
|
||||
require("my.plugins.vimux").setup()
|
||||
end)
|
||||
|
||||
|
||||
require("my.plugins.vim-tmux-navigator").setup()
|
||||
require("my.plugins.lualine").setup()
|
||||
require("my.plugins.comment").setup()
|
||||
require("my.plugins.telescope").setup()
|
||||
require("my.plugins.vimux").setup()
|
||||
|
||||
-- require("my.plugins.idris").setup()
|
||||
-- require("which-key").setup()
|
||||
|
|
|
@ -1,24 +1,24 @@
|
|||
local M = {}
|
||||
|
||||
function M.setup()
|
||||
require('lualine').setup({
|
||||
theme = vim.g.lualineTheme,
|
||||
options = {
|
||||
section_separators = {left = '', right = ''},
|
||||
component_separators = {left = '', right = ''}
|
||||
},
|
||||
sections = {
|
||||
lualine_a = {'mode'},
|
||||
lualine_b = {'branch', 'diff', 'diagnostics'},
|
||||
lualine_c = {'filename'},
|
||||
lualine_x = {},
|
||||
-- lualine_y = {'encoding', 'fileformat', 'filetype'},
|
||||
lualine_y = {'filetype'},
|
||||
lualine_z = {'location'}
|
||||
},
|
||||
-- Integration with other plugins
|
||||
extensions = {"nvim-tree"}
|
||||
})
|
||||
require('lualine').setup({
|
||||
theme = vim.g.lualineTheme,
|
||||
options = {
|
||||
section_separators = { left = '', right = '' },
|
||||
component_separators = { left = '', right = '' }
|
||||
},
|
||||
sections = {
|
||||
lualine_a = { 'mode' },
|
||||
lualine_b = { 'branch', 'diff', 'diagnostics' },
|
||||
lualine_c = { 'filename' },
|
||||
lualine_x = {},
|
||||
-- lualine_y = {'encoding', 'fileformat', 'filetype'},
|
||||
lualine_y = { 'filetype' },
|
||||
lualine_z = { 'location' }
|
||||
},
|
||||
-- Integration with other plugins
|
||||
extensions = { "nvim-tree" }
|
||||
})
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
@ -5,13 +5,15 @@ function M.setup()
|
|||
ensure_installed = {
|
||||
"bash", "javascript", "typescript", "c", "cpp", "css", "dockerfile",
|
||||
"elixir", "fish", "html", "json", "latex", "python", "rust", "scss",
|
||||
"toml", "tsx", "vim", "yaml", "nix"
|
||||
"toml", "tsx", "vim", "yaml", "nix", "kotlin"
|
||||
},
|
||||
sync_install = false,
|
||||
indent = { enable = true },
|
||||
highlight = {
|
||||
enable = true,
|
||||
|
||||
disable = { "kotlin" },
|
||||
|
||||
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
|
||||
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
|
||||
-- Using this option may slow down your editor, and you may see some duplicate highlights.
|
||||
|
|
|
@ -3,8 +3,8 @@ let
|
|||
paq = pkgs.fetchFromGitHub {
|
||||
owner = "savq";
|
||||
repo = "paq-nvim";
|
||||
rev = "cbbb8a550e35b1e6c9ddf7b098b25e6c2d8b1e86";
|
||||
sha256 = "0fsbww2kqwayi1azhglsjal6mwh68n03ylxxqzq17v7sar17vx4c";
|
||||
rev = "bc5950b990729464f2493b1eaab5a7721bd40bf5";
|
||||
sha256 = "0rsv3j5rxfv7ys9zvq775f63vy6w880b0xhyr164y8fcadhpypb3";
|
||||
};
|
||||
|
||||
theme = pkgs.myThemes.current;
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
home.packages = with pkgs; [
|
||||
kotlin
|
||||
gradle
|
||||
jdk
|
||||
android-studio
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -52,6 +52,7 @@ in
|
|||
};
|
||||
|
||||
|
||||
|
||||
# Vim plugins
|
||||
myVimPlugins = {
|
||||
githubNvimTheme = foreign.githubNvimTheme;
|
||||
|
|
|
@ -7,8 +7,8 @@ lib.lists.map (theme: pkgs.callPackage theme { }) [
|
|||
(catppuccin {
|
||||
# wallpaper = "os/nix-magenta-pink-1920x1080.png";
|
||||
# wallpaper = "minimalistic/tetris.png";
|
||||
# wallpaper = "os/nix-black-4k.png";
|
||||
wallpaper = "misc/comfy-home.png";
|
||||
wallpaper = "os/nix-black-4k.png";
|
||||
# wallpaper = "misc/comfy-home.png";
|
||||
# wallpaper = "landscapes/forrest.png";
|
||||
# wallpaper = "landscapes/salty_mountains.png";
|
||||
# wallpaper = "misc/rainbow.png";
|
||||
|
|
|
@ -56,6 +56,7 @@ in
|
|||
accelSpeed = "3.5";
|
||||
|
||||
tappingDragLock = false;
|
||||
disableWhileTyping = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue