.
This commit is contained in:
parent
856e135e63
commit
16c7b23408
7 changed files with 63 additions and 8 deletions
25
files/.config/nvim/init.lua
Normal file
25
files/.config/nvim/init.lua
Normal 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>")
|
||||
12
files/.config/nvim/nvim-pack-lock.json
Normal file
12
files/.config/nvim/nvim-pack-lock.json
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"plugins": {
|
||||
"fzf.vim": {
|
||||
"rev": "d2a59a992a2455f609c0fde2ebd84427ea8f919a",
|
||||
"src": "https://github.com/junegunn/fzf.vim"
|
||||
},
|
||||
"nvim-lspconfig": {
|
||||
"rev": "d592c1e6ad9a0a01b3d5ed3f0345d68407167181",
|
||||
"src": "https://github.com/neovim/nvim-lspconfig"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue