.
This commit is contained in:
parent
16c7b23408
commit
12cf227133
12 changed files with 122 additions and 29 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue