nvim: handle lisp file type, change local leader
This commit is contained in:
parent
a5c491d1ce
commit
d122f56ab6
@ -39,13 +39,16 @@
|
||||
"nui.nvim": { "branch": "main", "commit": "8d3bce9764e627b62b07424e0df77f680d47ffdb" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "1e1900b0769324a9675ef85b38f99cca29e203b3" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "0a1ac55d7d4ec2b2ed9616dfc5406791234d1d2b" },
|
||||
"nvim-paredit": { "branch": "master", "commit": "cfab7ef0b750a8bd1d4daa6ace93a36ebc60f172" },
|
||||
"nvim-surround": { "branch": "main", "commit": "caf6f633d4d77a29b6e265b560c5a035d171a913" },
|
||||
"nvim-treesitter": { "branch": "master", "commit": "aece1062335a9e856636f5da12d8a06c7615ce8a" },
|
||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "9937e5e356e5b227ec56d83d0a9d0a0f6bc9cad4" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "4c3a5848ee0b09ecdea73adcd2a689190aeb728c" },
|
||||
"nvlime": { "branch": "master", "commit": "228e4fa8c7d10b1ed07b1649a63743613b77a828" },
|
||||
"oil.nvim": { "branch": "master", "commit": "ab887d926c2665a708fbe9e6c4654042cc5f4c60" },
|
||||
"onenord.nvim": { "branch": "main", "commit": "babdcc3da92f0c90703bb612a13a58e5f7669287" },
|
||||
"orgmode": { "branch": "master", "commit": "145dce4d2f1bbaed5ff9e353822981b783627b32" },
|
||||
"parsley": { "branch": "main", "commit": "c4100aa449bfa971dcfc56ffe4206ba034db08cc" },
|
||||
"persisted.nvim": { "branch": "main", "commit": "b4b7a281307f8b52d47b0fd5b6798a453681d44e" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
|
||||
"quicker.nvim": { "branch": "master", "commit": "1798be71cdcb15fb84fa8054148a56e17fd391dc" },
|
||||
|
@ -1,5 +1,5 @@
|
||||
vim.g.mapleader = ' '
|
||||
vim.g.maplocalleader = ' '
|
||||
vim.g.maplocalleader = ' \\'
|
||||
|
||||
local key = vim.keymap.set
|
||||
local opts = { silent = true, noremap = true }
|
||||
|
@ -74,5 +74,8 @@ return {
|
||||
{ name = 'buffer' },
|
||||
},
|
||||
})
|
||||
cmp.setup.filetype('lisp', {
|
||||
sources = cmp.config.sources({ { name = 'nvlime' } })
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
22
nvim/.config/nvim/lua/plugins/lisp.lua
Normal file
22
nvim/.config/nvim/lua/plugins/lisp.lua
Normal file
@ -0,0 +1,22 @@
|
||||
return {
|
||||
{
|
||||
'monkoose/nvlime',
|
||||
ft = { 'lisp' },
|
||||
lazy = false,
|
||||
dependencies = {
|
||||
'monkoose/parsley',
|
||||
'hrsh7th/nvim-cmp',
|
||||
},
|
||||
init = function()
|
||||
vim.g.nvlime_config = {
|
||||
cmp = { enabled = true },
|
||||
}
|
||||
end,
|
||||
},
|
||||
{
|
||||
"julienvincent/nvim-paredit",
|
||||
config = function()
|
||||
require("nvim-paredit").setup()
|
||||
end
|
||||
},
|
||||
}
|
@ -15,7 +15,7 @@ return {
|
||||
|
||||
---@diagnostic disable-next-line: missing-fields
|
||||
require('nvim-treesitter.configs').setup {
|
||||
ensure_installed = { 'c', 'cpp', 'go', 'haskell', 'lua', 'python', 'rust', 'tsx', 'templ', 'typescript', 'vimdoc', 'vim' },
|
||||
ensure_installed = { 'c', 'commonlisp', 'cpp', 'go', 'haskell', 'lua', 'python', 'rust', 'tsx', 'templ', 'typescript', 'vimdoc', 'vim' },
|
||||
auto_install = false,
|
||||
highlight = {
|
||||
enable = true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user