Compare commits
3 Commits
44811bbfcd
...
5f35501f68
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f35501f68 | ||
|
|
405659af0a | ||
|
|
eec1f820fc |
12
init.lua
12
init.lua
@@ -54,18 +54,6 @@ if theme_ok then
|
||||
matugen.setup()
|
||||
end
|
||||
|
||||
-- grammar support for spellchecker
|
||||
require('lspconfig').ltex.setup {
|
||||
filetypes = { "markdown", "text", "tex", "gitcommit" },
|
||||
settings = {
|
||||
ltex = {
|
||||
language = "en-US",
|
||||
-- You can disable specific rules here if they are too annoying
|
||||
disabledRules = { ["en-US"] = { "PROPER_NOUN_CAPITALIZATION" } },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
-- load lsp and bufferline plugins
|
||||
require("config.lsp")
|
||||
-- render bufferline
|
||||
|
||||
@@ -5,26 +5,27 @@
|
||||
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
||||
"dashboard-nvim": { "branch": "master", "commit": "0775e567b6c0be96d01a61795f7b64c1758262f6" },
|
||||
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||
"fd": { "branch": "master", "commit": "d6b44b81b67c9af8963a3631995833e29ecfb871" },
|
||||
"fzf-lua": { "branch": "main", "commit": "3b01dc83a893749f5ae4639f1aa0af523821840a" },
|
||||
"fd": { "branch": "master", "commit": "8a7ff7d4383eb2a5fb1469e504a341e2e3565d13" },
|
||||
"fzf-lua": { "branch": "main", "commit": "b2abbb7d122c94e893ed4ac359ede2af39aed989" },
|
||||
"gemini-cli.nvim": { "branch": "main", "commit": "c9fd62adda823628f5131a939d9c56ef7a898600" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "0a80125bace82d82847d40bc2c38a22d62c6dc2d" },
|
||||
"guess-indent.nvim": { "branch": "main", "commit": "84a4987ff36798c2fc1169cbaff67960aed9776f" },
|
||||
"hologram.nvim": { "branch": "main", "commit": "f5194f71ec1578d91b2e3119ff08e574e2eab542" },
|
||||
"inc-rename.nvim": { "branch": "main", "commit": "0074b551a17338ccdcd299bd86687cc651bcb33d" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||
"ltex-ls.nvim": { "branch": "main", "commit": "968eac261279d88d7f1ed556aa2dbc535a7489fe" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "a979821a975897b88493843301950c456a725982" },
|
||||
"mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" },
|
||||
"mini.nvim": { "branch": "main", "commit": "439cdcd6992bc9012efd7d8ed7a7b7a0f1fac32a" },
|
||||
"mini.pick": { "branch": "main", "commit": "fe079c2bd894a5ee70b62f23d819620ef40c4949" },
|
||||
"neogit": { "branch": "master", "commit": "d3890fc3cdf0859845a86b2be306bba01458df1a" },
|
||||
"neogit": { "branch": "master", "commit": "64b1a01a9fc3d3ee8b2368230563bedf3eb66e54" },
|
||||
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "59bce2eef357189c3305e25bc6dd2d138c1683f5" },
|
||||
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
|
||||
"nvim-dap": { "branch": "master", "commit": "a9d8cb68ee7184111dc66156c4a2ebabfbe01bc5" },
|
||||
"nvim-java": { "branch": "main", "commit": "602a5f7fa92f9c1d425a2159133ff9de86842f0a" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "841c6d4139aedb8a3f2baf30cef5327371385b93" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "46204c8fdaa36a9aa3768780450e4bc7a210025f" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "3d385d3346e4883d60dc37cf642bd47bed78a46e" },
|
||||
"nvim-treesitter": { "branch": "main", "commit": "6620ae1c44dfa8623b22d0cbf873a9e8d073b849" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" },
|
||||
|
||||
@@ -31,3 +31,16 @@ vim.api.nvim_create_autocmd('TextYankPost', {
|
||||
end,
|
||||
})
|
||||
|
||||
-- Create an augroup to manage our spellcheck autocommands
|
||||
local spell_group = vim.api.nvim_create_augroup("EnableSpellcheck", { clear = true })
|
||||
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
group = spell_group,
|
||||
-- List the filetypes you want to enable spellcheck for
|
||||
pattern = { "markdown", "text", "gitcommit", "latex", "plaintex" },
|
||||
callback = function()
|
||||
vim.opt_local.spell = true
|
||||
vim.opt_local.spelllang = "en_us" -- Optional: set your preferred language
|
||||
vim.opt_local.spelloptions = "camel"
|
||||
end,
|
||||
})
|
||||
|
||||
@@ -68,3 +68,7 @@ vim.keymap.set('n', "<leader>a/", "<cmd>Gemini toggle<cr>", { desc = "Toggle Gem
|
||||
vim.keymap.set('n', "<leader>aa", "<cmd>Gemini toggle<cr>", { desc = "Toggle Gemini CLI" })
|
||||
vim.keymap.set('n', "<leader>aq", "<cmd>Gemini ask<cr>", { desc = "Ask Gemini", })
|
||||
vim.keymap.set('n', "<leader>af", "<cmd>Gemini add_file<cr>", { desc = "Add File"} )
|
||||
|
||||
-- spellcheck keybind to toggle on current buffer
|
||||
vim.keymap.set('n', "<leader>ze", "<cmd>setlocal spell<cr>", { desc = "enable spellecheck on buffer" })
|
||||
vim.keymap.set('n', "<leader>zd", "<cmd>setlocal nospell<cr>", { desc = "Disable spellecheck on buffer" })
|
||||
|
||||
@@ -9,11 +9,11 @@ vim.g.have_nerd_font = true
|
||||
|
||||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
vim.opt.spellcapcheck = ""
|
||||
|
||||
-- [[Setting options]]
|
||||
vim.o.spell = true
|
||||
vim.o.spelllang = 'en_us'
|
||||
vim.o.spell = false -- turn on spellcheck
|
||||
vim.o.spelllang = 'en_us' -- set English as spellcheck language
|
||||
vim.opt.spellcapcheck = ""
|
||||
vim.o.number = true -- Make line numbers default
|
||||
vim.o.relativenumber = true
|
||||
vim.o.showmode = false
|
||||
|
||||
@@ -4,12 +4,11 @@ return { -- adds lsp functionality and api for included languages
|
||||
dependencies = {
|
||||
{ "mason-org/mason.nvim", config = true }, -- The "App Store"
|
||||
{ "mason-org/mason-lspconfig.nvim", config = true }, -- The "Bridge"
|
||||
},
|
||||
},
|
||||
{
|
||||
'saghen/blink.cmp',
|
||||
version = '*', -- Downloads pre-built binaries (fast!)
|
||||
opts = {
|
||||
opts =
|
||||
{
|
||||
keymap = {
|
||||
preset = 'none',
|
||||
['<CR>'] = { 'select_next', 'fallback' },
|
||||
@@ -73,5 +72,6 @@ return { -- adds lsp functionality and api for included languages
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
return { -- Collection of various small independent plugins/modules
|
||||
{
|
||||
'echasnovski/mini.nvim',
|
||||
config = function()
|
||||
-- Better Around/Inside textobjects
|
||||
@@ -29,4 +30,17 @@ return { -- Collection of various small independent plugins/modules
|
||||
require('mini.clue').setup()
|
||||
|
||||
end,
|
||||
},
|
||||
{
|
||||
'folke/snacks.nvim',
|
||||
config = function()
|
||||
require("snacks").setup({
|
||||
image = {
|
||||
enabled = true,
|
||||
-- This ensures that when you open an image file, it renders
|
||||
-- You can also toggle it manually with :SnacksImage
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,3 +7,12 @@ symlinked
|
||||
Openrc
|
||||
dir
|
||||
Picoctf
|
||||
nc
|
||||
Gaviria
|
||||
unix
|
||||
linux
|
||||
netcat
|
||||
Ransomware
|
||||
tmux
|
||||
Pico
|
||||
Pico
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user