This commit is contained in:
Aram Markarov
2025-12-11 19:27:50 +01:00
parent c18e540835
commit a58c111ddd
7 changed files with 8 additions and 11 deletions
+1
View File
@@ -2,6 +2,7 @@ require("globals")
require("options")
require("config.lazy")
require("mappings")
require("autocmd")
vim.cmd("source ~/.config/nvim/suda.vim")
local time = tonumber(os.date "%H")
-7
View File
@@ -1,8 +1 @@
local autocmd = vim.api.nvim_create_autocmd
autocmd("BufWritePre", {
callback = function()
local ok = pcall(function() vim.cmd "undojoin" end)
vim.cmd "Neoformat"
end
})
+1 -1
View File
@@ -90,7 +90,7 @@ dap.adapters["pwa-node"] = {
command = "node",
-- 💀 Make sure to update this path to point to your installation
args = {
"/home/zach/.config/nvim/java-dap/js-debug/src/dapDebugServer.js",
"%HOME/.config/nvim/java-dap/js-debug/src/dapDebugServer.js",
"${port}"
}
}
-1
View File
@@ -1 +0,0 @@
let g:neoformat_verbose = 1
+1 -1
View File
@@ -4,6 +4,6 @@ require'nvim-treesitter.configs'.setup {
auto_install = true,
highlight = {enable = true, additional_vim_regex_highlighting = false},
indent = {enable = true, disable = {}},
ensure_installed = {"jsx", "toml", "json", "yaml", "css", "html", "lua"},
ensure_installed = {"toml", "json", "yaml", "css", "html", "lua"},
autotag = {enable = true}
}
+2
View File
@@ -1,6 +1,8 @@
local map = vim.keymap.set
local default_opts = {noremap = true}
map("n", "<leader>n", function() Snacks.notifier.show_history() end)
map('n', '<leader>ff',
"<cmd>lua require'telescope.builtin'.find_files({ find_command = {'rg', '--files', '--hidden', '-g', '!.git' }})<cr>",
default_opts)
+3 -1
View File
@@ -18,7 +18,7 @@ vim.opt.signcolumn = "yes:1"
vim.opt.isfname:append("@-@")
vim.opt.updatetime = 50
vim.opt.textwidth = 0
vim.opt.colorcolumn = "80"
vim.opt.colorcolumn = "100"
vim.opt.formatoptions = "rqnj"
vim.o.sessionoptions =
"blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions"
@@ -48,3 +48,5 @@ local sep = is_windows and "\\" or "/"
local delim = is_windows and ";" or ":"
vim.env.PATH = table.concat({vim.fn.stdpath "data", "mason", "bin"}, sep) ..
delim .. vim.env.PATH
vim.api.nvim_create_user_command('Nf', function() vim.cmd('Neoformat') end, {})