small tweaks
This commit is contained in:
@@ -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>")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user