feat: add more languages
This commit is contained in:
parent
4887a2ba4a
commit
e21c6a6956
2
init.lua
2
init.lua
@ -18,6 +18,8 @@ vim.opt.smartcase = true
|
||||
|
||||
vim.g.maplocalleader = ','
|
||||
|
||||
vim.g["conjure#client#fennel#stdio#command"] = "deps"
|
||||
|
||||
-- bootstrap lazy
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||
|
||||
@ -23,6 +23,12 @@ vim.lsp.config('fennells', {
|
||||
filetypes = { 'fennel' }
|
||||
})
|
||||
|
||||
vim.lsp.config('ccls', {
|
||||
cmd = { 'ccls' },
|
||||
root_markers = { '.ccls' },
|
||||
filetypes = { 'c' }
|
||||
})
|
||||
|
||||
-- Global mappings.
|
||||
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
|
||||
vim.keymap.set("n", "<space>e", vim.diagnostic.open_float, {
|
||||
|
||||
@ -24,6 +24,12 @@ local is_termux = os.getenv("TERMUX_VERSION") ~= nil
|
||||
|
||||
return {
|
||||
{
|
||||
{
|
||||
'mrcjkb/haskell-tools.nvim',
|
||||
version = '^7', -- Recommended
|
||||
lazy = false, -- This plugin is already lazy
|
||||
},
|
||||
'bakpakin/janet.vim',
|
||||
"klen/nvim-config-local",
|
||||
config = function()
|
||||
require("config-local").setup({
|
||||
|
||||
@ -29,6 +29,8 @@ return {
|
||||
"olical/conjure",
|
||||
config = function()
|
||||
vim.g["conjure#filetype#fennel"] = "conjure.client.fennel.stdio"
|
||||
vim.g["conjure#client#sql#stdio#command"] = "sqlite3"
|
||||
vim.g["conjure#client#sql#stdio#prompt_pattern"] = "sqlite>"
|
||||
vim.keymap.set("n", "<LocalLeader>dd", "<Cmd>ConjureDocWord<CR>")
|
||||
end,
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user