From 5023d7fb5753c3f3a6e135b6090dbdcfa13a3e37 Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 9 Sep 2024 16:27:50 +0200 Subject: up --- .config/mimeapps.list | 2 +- .config/nvim/after/plugin/lsp.lua | 1 - .config/nvim/lua/hooks.lua | 16 ++++++++-------- 3 files changed, 9 insertions(+), 10 deletions(-) (limited to '.config') diff --git a/.config/mimeapps.list b/.config/mimeapps.list index 7a6587c..d6c59f5 100644 --- a/.config/mimeapps.list +++ b/.config/mimeapps.list @@ -56,7 +56,7 @@ video/quicktime=mpv.desktop x-scheme-handler/https=userapp-Firefox-NVLWI0.desktop;librewolf.desktop;firefox.desktop;userapp-Firefox-SWW0Y1.desktop; x-scheme-handler/ftp=userapp-Firefox-NVLWI0.desktop; x-scheme-handler/chrome=userapp-Firefox-NVLWI0.desktop;firefox.desktop;userapp-Firefox-SWW0Y1.desktop; -text/html=userapp-Firefox-NVLWI0.desktop;firefox.desktop;userapp-Firefox-SWW0Y1.desktop; +text/html=emacs.desktop;userapp-Firefox-NVLWI0.desktop;firefox.desktop;userapp-Firefox-SWW0Y1.desktop; application/x-extension-htm=userapp-Firefox-NVLWI0.desktop;firefox.desktop;userapp-Firefox-SWW0Y1.desktop; application/x-extension-html=userapp-Firefox-NVLWI0.desktop;firefox.desktop;userapp-Firefox-SWW0Y1.desktop; application/x-extension-shtml=userapp-Firefox-NVLWI0.desktop;firefox.desktop;userapp-Firefox-SWW0Y1.desktop; diff --git a/.config/nvim/after/plugin/lsp.lua b/.config/nvim/after/plugin/lsp.lua index f0382d0..cec05bf 100644 --- a/.config/nvim/after/plugin/lsp.lua +++ b/.config/nvim/after/plugin/lsp.lua @@ -26,7 +26,6 @@ require('mason').setup({ require('mason-lspconfig').setup({ ensure_installed = { - 'tsserver', 'eslint', 'rust_analyzer', 'lua_ls', diff --git a/.config/nvim/lua/hooks.lua b/.config/nvim/lua/hooks.lua index eaf0687..aeb43a9 100644 --- a/.config/nvim/lua/hooks.lua +++ b/.config/nvim/lua/hooks.lua @@ -1,8 +1,8 @@ -vim.api.nvim_create_autocmd({"BufWritePre"}, { - pattern = "*", - callback = function(ev) - save_cursor = vim.fn.getpos(".") - vim.cmd([[%s/\s\+$//e]]) - vim.fn.setpos(".", save_cursor) - end, -}) +-- vim.api.nvim_create_autocmd({"BufWritePre"}, { +-- pattern = "*", +-- callback = function(ev) +-- save_cursor = vim.fn.getpos(".") +-- vim.cmd([[%s/\s\+$//e]]) +-- vim.fn.setpos(".", save_cursor) +-- end, +-- }) -- cgit v1.2.3