This commit is contained in:
kento2 2026-08-13 21:24:39 +02:00
parent 16c7b23408
commit 12cf227133
12 changed files with 122 additions and 29 deletions

View file

@ -1,25 +1,4 @@
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>")
require("config.options")
for _, file in ipairs(vim.fn.globpath(vim.fn.stdpath("config") .. "/lua/config", "*.lua", false, true)) do
require("config." .. vim.fn.fnamemodify(file, ":t:r"))
end