1
Fork 0

Added some more git stuff I guess

This commit is contained in:
Matei Adriel 2022-08-24 14:13:35 +03:00
parent db117a39bb
commit 8594b5da11
9 changed files with 41 additions and 27 deletions

View file

@ -44,7 +44,11 @@ function M.setup()
"easymotion/vim-easymotion", -- removes the need for spamming w or e "easymotion/vim-easymotion", -- removes the need for spamming w or e
"tpope/vim-surround", -- work with brackets, quotes, tags, etc "tpope/vim-surround", -- work with brackets, quotes, tags, etc
"MunifTanjim/nui.nvim", -- ui stuff required by idris2 "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 for _, v in ipairs(themePackages) do

View file

@ -3,7 +3,10 @@ local M = {}
function M.setup() function M.setup()
require('nvim-autopairs').setup() require('nvim-autopairs').setup()
-- require "gitlinker".setup()
require('neogit').setup()
vscode.unless(function() vscode.unless(function()
require("presence"):setup({}) require("presence"):setup({})
require("my.plugins.dashboard").setup() require("my.plugins.dashboard").setup()
@ -14,13 +17,14 @@ function M.setup()
require("my.plugins.nvim-tree").setup() require("my.plugins.nvim-tree").setup()
require("my.plugins.vimtex").setup() require("my.plugins.vimtex").setup()
require("my.plugins.lean").setup() require("my.plugins.lean").setup()
require("my.plugins.lualine").setup()
require("my.plugins.vimux").setup()
end) end)
require("my.plugins.vim-tmux-navigator").setup() require("my.plugins.vim-tmux-navigator").setup()
require("my.plugins.lualine").setup()
require("my.plugins.comment").setup() require("my.plugins.comment").setup()
require("my.plugins.telescope").setup() require("my.plugins.telescope").setup()
require("my.plugins.vimux").setup()
-- require("my.plugins.idris").setup() -- require("my.plugins.idris").setup()
-- require("which-key").setup() -- require("which-key").setup()

View file

@ -4,20 +4,20 @@ function M.setup()
require('lualine').setup({ require('lualine').setup({
theme = vim.g.lualineTheme, theme = vim.g.lualineTheme,
options = { options = {
section_separators = {left = '', right = ''}, section_separators = { left = '', right = '' },
component_separators = {left = '', right = ''} component_separators = { left = '', right = '' }
}, },
sections = { sections = {
lualine_a = {'mode'}, lualine_a = { 'mode' },
lualine_b = {'branch', 'diff', 'diagnostics'}, lualine_b = { 'branch', 'diff', 'diagnostics' },
lualine_c = {'filename'}, lualine_c = { 'filename' },
lualine_x = {}, lualine_x = {},
-- lualine_y = {'encoding', 'fileformat', 'filetype'}, -- lualine_y = {'encoding', 'fileformat', 'filetype'},
lualine_y = {'filetype'}, lualine_y = { 'filetype' },
lualine_z = {'location'} lualine_z = { 'location' }
}, },
-- Integration with other plugins -- Integration with other plugins
extensions = {"nvim-tree"} extensions = { "nvim-tree" }
}) })
end end

View file

@ -5,13 +5,15 @@ function M.setup()
ensure_installed = { ensure_installed = {
"bash", "javascript", "typescript", "c", "cpp", "css", "dockerfile", "bash", "javascript", "typescript", "c", "cpp", "css", "dockerfile",
"elixir", "fish", "html", "json", "latex", "python", "rust", "scss", "elixir", "fish", "html", "json", "latex", "python", "rust", "scss",
"toml", "tsx", "vim", "yaml", "nix" "toml", "tsx", "vim", "yaml", "nix", "kotlin"
}, },
sync_install = false, sync_install = false,
indent = { enable = true }, indent = { enable = true },
highlight = { highlight = {
enable = true, enable = true,
disable = { "kotlin" },
-- Setting this to true will run `:h syntax` and tree-sitter at the same time. -- 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). -- 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. -- Using this option may slow down your editor, and you may see some duplicate highlights.

View file

@ -3,8 +3,8 @@ let
paq = pkgs.fetchFromGitHub { paq = pkgs.fetchFromGitHub {
owner = "savq"; owner = "savq";
repo = "paq-nvim"; repo = "paq-nvim";
rev = "cbbb8a550e35b1e6c9ddf7b098b25e6c2d8b1e86"; rev = "bc5950b990729464f2493b1eaab5a7721bd40bf5";
sha256 = "0fsbww2kqwayi1azhglsjal6mwh68n03ylxxqzq17v7sar17vx4c"; sha256 = "0rsv3j5rxfv7ys9zvq775f63vy6w880b0xhyr164y8fcadhpypb3";
}; };
theme = pkgs.myThemes.current; theme = pkgs.myThemes.current;

View file

@ -3,6 +3,8 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
kotlin kotlin
gradle gradle
jdk
android-studio
]; ];
}; };
} }

View file

@ -52,6 +52,7 @@ in
}; };
# Vim plugins # Vim plugins
myVimPlugins = { myVimPlugins = {
githubNvimTheme = foreign.githubNvimTheme; githubNvimTheme = foreign.githubNvimTheme;

View file

@ -7,8 +7,8 @@ lib.lists.map (theme: pkgs.callPackage theme { }) [
(catppuccin { (catppuccin {
# wallpaper = "os/nix-magenta-pink-1920x1080.png"; # wallpaper = "os/nix-magenta-pink-1920x1080.png";
# wallpaper = "minimalistic/tetris.png"; # wallpaper = "minimalistic/tetris.png";
# wallpaper = "os/nix-black-4k.png"; wallpaper = "os/nix-black-4k.png";
wallpaper = "misc/comfy-home.png"; # wallpaper = "misc/comfy-home.png";
# wallpaper = "landscapes/forrest.png"; # wallpaper = "landscapes/forrest.png";
# wallpaper = "landscapes/salty_mountains.png"; # wallpaper = "landscapes/salty_mountains.png";
# wallpaper = "misc/rainbow.png"; # wallpaper = "misc/rainbow.png";

View file

@ -56,6 +56,7 @@ in
accelSpeed = "3.5"; accelSpeed = "3.5";
tappingDragLock = false; tappingDragLock = false;
disableWhileTyping = true;
}; };
}; };
}; };