[MINOR] VeryLazy on lazy nvim and some other stuff

This commit is contained in:
Afonso Franco 2023-10-18 18:39:47 +01:00
parent ed3279313d
commit 9bb5785c8e
Signed by: afonso
SSH key fingerprint: SHA256:JiuxZNdA5bRWXPMUJChI0AQ75yC+cXY4xM0IaVwEVys
10 changed files with 42 additions and 47 deletions

View file

@ -1,5 +1,5 @@
function ls
eza --icons -l $argv
eza --icons -l --sort type $argv
end
abbr -a find fd
abbr -a df duf

View file

@ -25,15 +25,18 @@ lazy.setup({
--better navigation with 's-letter'
{
'ggandor/leap.nvim',
event = "VeryLazy",
config = function()
require('leap').add_default_mappings()
end
},
--Nvim to browser
'subnut/nvim-ghost.nvim',
{
'2kabhishek/nerdy.nvim',
event = "VeryLazy",
dependencies = {
'stevearc/dressing.nvim',
'nvim-telescope/telescope.nvim',
@ -57,6 +60,7 @@ lazy.setup({
{
"folke/todo-comments.nvim",
event = "VeryLazy",
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
require("todo-comments").setup {}
@ -65,6 +69,7 @@ lazy.setup({
{
'folke/zen-mode.nvim',
event = "VeryLazy",
config = function()
require("zen-mode").setup {
vim.keymap.set('n', '<leader>z', '<Cmd> ZenMode <CR>', { noremap = true, silent = true })
@ -75,8 +80,6 @@ lazy.setup({
--Change add and remove surroundings from words
'tpope/vim-surround',
'tpope/vim-obsession',
'tpope/vim-fugitive',
{
'NvChad/nvim-colorizer.lua',
@ -87,6 +90,7 @@ lazy.setup({
{
"roobert/tailwindcss-colorizer-cmp.nvim",
event = "VeryLazy",
config = function()
require("tailwindcss-colorizer-cmp").setup({
color_square_width = 2,
@ -95,6 +99,7 @@ lazy.setup({
},
{
'laytan/tailwind-sorter.nvim',
event = "VeryLazy",
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-lua/plenary.nvim' },
build = 'cd formatter && bun i && bun run build',
config = true,
@ -131,6 +136,7 @@ lazy.setup({
'stevearc/dressing.nvim',
{
'krady21/compiler-explorer.nvim',
event = "VeryLazy",
config = function()
require("compiler-explorer").setup({
url = "https://godbolt.org",
@ -153,7 +159,8 @@ lazy.setup({
},
{
'luk400/vim-jukit'
'luk400/vim-jukit',
event = "VeryLazy",
},
{
@ -178,6 +185,7 @@ lazy.setup({
{
'stevearc/oil.nvim',
event = "VeryLazy",
config = function()
require("oil").setup()
end
@ -231,10 +239,9 @@ lazy.setup({
end
},
'simrat39/rust-tools.nvim',
{
'nvimtools/none-ls.nvim',
event = "VeryLazy",
config = function()
require 'plugins.none-ls'
end
@ -242,6 +249,7 @@ lazy.setup({
{
'lervag/vimtex',
event = "VeryLazy",
config = function()
require 'plugins.vimtex'
end
@ -277,7 +285,7 @@ lazy.setup({
--does so much
{
'nvim-telescope/telescope.nvim',
tag = '0.1.0',
tag = '0.1.4',
-- or , branch = '0.1.x',
dependencies = { 'nvim-lua/plenary.nvim' },
config = function() require('plugins.telescope') end
@ -295,19 +303,19 @@ lazy.setup({
-------------------------------------------OTHERS----------------------------------------------
{
"nvim-neorg/neorg",
build = ":Neorg sync-parsers",
config = function()
require("neorg").setup {
load = {
["core.defaults"] = {}, -- Loads default behaviour
["core.concealer"] = {} -- Adds pretty icons to your documents
},
}
end,
dependencies = { "nvim-lua/plenary.nvim" },
},
-- {
-- "nvim-neorg/neorg",
-- build = ":Neorg sync-parsers",
-- config = function()
-- require("neorg").setup {
-- load = {
-- ["core.defaults"] = {}, -- Loads default behaviour
-- ["core.concealer"] = {} -- Adds pretty icons to your documents
-- },
-- }
-- end,
-- dependencies = { "nvim-lua/plenary.nvim" },
-- },
-- 'kmonad/kmonad-vim',
-- 'elkowar/yuck.vim',

View file

@ -59,29 +59,3 @@ mason_lspconfig.setup_handlers {
}
end,
}
require('lspconfig')['hls'].setup {
filetypes = { 'haskell', 'lhaskell', 'cabal' },
on_attach = on_attach,
flags = lsp_flags,
capabilities = capabilities,
}
require("rust-tools").setup({
server = {
on_attach = on_attach,
capabilities = capabilities,
settings = {
["rust-analyzer"] = {
checkOnSave = {
command = "clippy",
},
},
},
},
tools = {
hover_actions = {
auto_focus = true,
},
},
})

View file

@ -1,7 +1,7 @@
rule ={
matches = {
{
{"node.name","equals","GA104 High Definition Audio Controller Digital Stereo (HDMI 2)"},
{"node.description","equals","GA104 High Definition Audio Controller Digital Stereo (HDMI)"},
}
},
apply_properties = {

View file

@ -17,3 +17,5 @@
gpgsign = true
[pull]
rebase = false
[init]
defaultBranch = main

BIN
.local/bin/shellcheck Executable file

Binary file not shown.

2
.local/bin/watchsync Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
watch -d grep -e Dirty: /proc/meminfo

BIN
.local/bin/xmobar Executable file

Binary file not shown.

BIN
.local/bin/xmonad Executable file

Binary file not shown.

View file

@ -8,3 +8,12 @@ Host gon
Port 522
ControlPath ~/.ssh/session.%r@%h:%p
ControlPersist 5m
Host search
ControlMaster auto
HostName s7edu2.di.uminho.pt
User pg53595
Port 22
IdentityFile ~/.ssh/id_search
ControlPath ~/.ssh/session.%r@%h:%p
ControlPersist 5m