This commit is contained in:
2025-06-26 12:55:17 -07:00
parent 619c164096
commit ccb15a9a4a
3 changed files with 63 additions and 40 deletions

View File

@@ -1,21 +1,22 @@
require('config.lazy')
vim.lsp.enable(
"rust_analyzer",
"clangd",
"jdtls",
"csharp_ls",
"html",
"ts_ls",
"css_ls",
"tinymist"
)
vim.lsp.enable("rust_analyzer")
vim.lsp.enable("jdtls")
vim.lsp.enable("clangd")
vim.lsp.enable("csharp_ls")
vim.lsp.enable("lua_ls")
vim.lsp.enable("html")
vim.lsp.enable("ts_ls")
vim.lsp.enable("css_ls")
vim.lsp.enable("tinymist")
vim.keymap.set({'n', 'x', 'o'}, ',', vim.diagnostic.open_float)
vim.keymap.set({'n', 'x', 'o', 'i'}, '<c-s>', "<cmd>up<cr>")
vim.cmd([[
no e <c-r>
no : ,
no a i
no i a
@@ -23,13 +24,17 @@ vim.cmd([[
no I A
no k o
no j J
no m q
no M Q
no q t
no Q T
no h <left>
no t <up>
no n <down>
no s <right>
no T <pageup>
no N <pagedown>
no T <C-y>
no N <C-e>
no / ^
no = <end>
@@ -49,11 +54,14 @@ vim.cmd([[
set number
set relativenumber
hi LineNr ctermfg=67
set expandtab
set tabstop=4
set shiftwidth=4
set cmdheight=0
let g:vsnip_snippet_dir = '~/.config/nvim/vsnip'
colorscheme catppuccin
]])
]])
vim.api.nvim_set_hl(0, "Pmenu", { bg = nil })
vim.api.nvim_set_hl(0, "NormalFloat", { bg = nil })