This commit is contained in:
kento2 2026-07-30 15:47:38 +02:00
parent 856e135e63
commit 16c7b23408
7 changed files with 63 additions and 8 deletions

View file

@ -0,0 +1,25 @@
vim.g.mapleader = " "
vim.g.maplocalleader = ","
vim.cmd.colorscheme("lunaperche")
vim.opt.smarttab = true
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.clipboard = "unnamedplus" -- use system clipboard
vim.pack.add{
{ src = 'https://github.com/neovim/nvim-lspconfig' },
{ src = 'https://github.com/junegunn/fzf.vim' },
}
vim.lsp.config('chicken', {
cmd = {'chicken-lsp-server'},
filetypes = {'scheme'},
root_markers = {'Makefile', 'build.meson', '.git'},
})
vim.lsp.enable('chicken')
vim.lsp.enable('clangd')
vim.lsp.enable('lua_ls')
vim.keymap.set("n", "<leader>b", "<cmd>Buffers<CR>")
vim.keymap.set("n", "<leader>f", "<cmd>Files<CR>")