upgrade packages, add oil blank remap

This commit is contained in:
2024-10-09 22:15:00 +03:00
parent 3b65386a9f
commit e3c38b2da9
7 changed files with 20 additions and 11 deletions

View File

@@ -1 +1,2 @@
require("crentist") require("crentist")

View File

@@ -23,11 +23,11 @@
"nvim-autopairs": { "branch": "master", "commit": "ee297f215e95a60b01fde33275cc3c820eddeebe" }, "nvim-autopairs": { "branch": "master", "commit": "ee297f215e95a60b01fde33275cc3c820eddeebe" },
"nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" }, "nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
"nvim-lspconfig": { "branch": "master", "commit": "04680101ff79e99b4e33a4386ec27cbd0d360c75" }, "nvim-lspconfig": { "branch": "master", "commit": "ff69ecca55d83ffc70657f260a799f79a5637831" },
"nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
"nvim-sops": { "branch": "main", "commit": "cb2209562d00ef8c6c88bdec836d9edb8fbb96ef" }, "nvim-sops": { "branch": "main", "commit": "cb2209562d00ef8c6c88bdec836d9edb8fbb96ef" },
"nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" }, "nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" },
"nvim-treesitter": { "branch": "master", "commit": "45e0d66246f31306d890b91301993fa1623e79f1" }, "nvim-treesitter": { "branch": "master", "commit": "9d2acd49976e2a9da72949008df03436f781fd23" },
"nvim-web-devicons": { "branch": "master", "commit": "56f17def81478e406e3a8ec4aa727558e79786f3" }, "nvim-web-devicons": { "branch": "master", "commit": "56f17def81478e406e3a8ec4aa727558e79786f3" },
"oil.nvim": { "branch": "master", "commit": "ccab9d5e09e2d0042fbbe5b6bd05e82426247067" }, "oil.nvim": { "branch": "master", "commit": "ccab9d5e09e2d0042fbbe5b6bd05e82426247067" },
"plenary": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" }, "plenary": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },

View File

@@ -1,12 +1,20 @@
vim.filetype.add({ vim.filetype.add({
extension = { extension = {
["tf"] = "terraform", ['tf'] = 'terraform',
}, },
pattern = { pattern = {
[".*/playbooks/.*%.ya?ml"] = "yaml.ansible", ['.*/playbooks/.*%.ya?ml'] = 'yaml.ansible',
[".*/roles/.*%.ya?ml"] = "yaml.ansible", ['.*/roles/.*%.ya?ml'] = 'yaml.ansible',
[".*/tasks/.*%.ya?ml"] = "yaml.ansible", ['.*/tasks/.*%.ya?ml'] = 'yaml.ansible',
[".*/plays/.*%.ya?ml"] = "yaml.ansible", ['.*/plays/.*%.ya?ml'] = 'yaml.ansible',
}, },
}) })
vim.filetype.add({
extension = {
j2 = 'jinja',
jinja = 'jinja',
jinja2 = 'jinja',
}
})

View File

@@ -10,3 +10,4 @@ return {
vim.keymap.set("i", "<C-i>", "<cmd>IconPickerInsert<cr>", opts) vim.keymap.set("i", "<C-i>", "<cmd>IconPickerInsert<cr>", opts)
end end
} }

View File

@@ -39,7 +39,7 @@ return {
'yamlls', 'yamlls',
'ansiblels', 'ansiblels',
'terraformls', 'terraformls',
'helm_ls' 'helm_ls',
}, },
handlers = { handlers = {
function(server_name) function(server_name)

View File

@@ -5,8 +5,6 @@ return {
'nvim-telescope/telescope.nvim', 'nvim-telescope/telescope.nvim',
}, },
version = '0.1.6',
config = function() config = function()
local telescope = require('telescope') local telescope = require('telescope')
local telescopeConfig = require('telescope.config') local telescopeConfig = require('telescope.config')

View File

@@ -1,5 +1,6 @@
vim.g.mapleader = " " vim.g.mapleader = " "
vim.keymap.set("n", "<leader>pv", ":Oil .<CR>") vim.keymap.set("n", "<leader>Pv", ":Oil .<CR>")
vim.keymap.set("n", "<leader>pv", ":Oil<CR>")
vim.keymap.set("n", "<C-d>", "<C-d>zz") vim.keymap.set("n", "<C-d>", "<C-d>zz")
vim.keymap.set("n", "<C-u>", "<C-u>zz") vim.keymap.set("n", "<C-u>", "<C-u>zz")