update dotfiles

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
This commit is contained in:
2024-12-02 19:57:09 +05:30
parent e727130c60
commit 49eed0e56a
20 changed files with 453 additions and 158 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ return {
local lint = require 'lint'
lint.linters_by_ft = {
markdown = { 'markdownlint' },
yaml = { 'yamllint' },
-- yaml = { 'yamllint' },
}
-- To allow other plugins to add linters to require('lint').linters_by_ft,
@@ -163,6 +163,7 @@ return {
jsonls = {},
dockerls = {},
marksman = {},
harper_ls = {},
-- pyright = {},
rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
@@ -18,10 +18,9 @@ return {
'folke/which-key.nvim',
event = 'VimEnter', -- Sets the loading event to 'VimEnter'
opts = {
presets = 'modern',
preset = 'modern',
icons = {
mappings = false,
rules = false,
},
},
config = function() -- This is the function that runs, AFTER loading
+5
View File
@@ -59,4 +59,9 @@ vim.opt.cursorline = true
-- Minimal number of screen lines to keep above and below the cursor.
vim.opt.scrolloff = 10
-- Set tabstop
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
-- vim: ts=2 sts=2 sw=2 et