mirror of
https://github.com/avinal/dotfiles.git
synced 2026-07-04 07:20:09 +05:30
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user