small tweaks

This commit is contained in:
2026-05-13 15:38:00 -07:00
parent d5f473943d
commit 848522eca5
4 changed files with 82 additions and 27 deletions

View File

@@ -1,5 +1,10 @@
require('config.lazy')
local cd = io.open("/tmp/fishwd", "r")
if cd ~= nil then
vim.cmd("cd " .. cd:read("a"))
end
vim.lsp.enable({
"rust_analyzer",
"jdtls",
@@ -16,10 +21,6 @@ vim.lsp.enable({
"kotlin_lsp"
})
vim.keymap.set({'n', 'x', 'o'}, ',', vim.diagnostic.open_float)
vim.keymap.set({'n', 'x', 'o', 'i'}, '<c-s>', "<cmd>up<cr>")
if vim.g.neovide then
vim.o.guifont = "0xProto Nerd Font:h12"
vim.g.neovide_padding_top = 4
@@ -91,3 +92,7 @@ vim.cmd([[
hi BlinkCmpScrollbarThumb guibg=#181818
hi BlinkCmpScrollbarGutter guibg=#181818
]])
vim.keymap.set({'n', 'x', 'o'}, ',', vim.diagnostic.open_float)
vim.keymap.set({'n', 'x', 'o', 'i'}, '<c-s>', "<cmd>up<cr>")