nvim-old
This commit is contained in:
parent
dbba54cfd8
commit
6380f390ea
26 changed files with 2704 additions and 0 deletions
24
nvim-old/lua/config/coq.lua
Normal file
24
nvim-old/lua/config/coq.lua
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
local M = {}
|
||||
|
||||
function M.setup()
|
||||
local coq = require "coq"
|
||||
coq.Now() -- Start coq
|
||||
|
||||
-- 3party sources
|
||||
require "coq_3p" {
|
||||
{ src = "nvimlua", short_name = "nLUA", conf_only = false }, -- Lua
|
||||
{ src = "bc", short_name = "MATH", precision = 6 }, -- Calculator
|
||||
{ src = "cow", trigger = "!cow" }, -- cow command
|
||||
{ src = "figlet", trigger = "!big" }, -- figlet command
|
||||
{
|
||||
src = "repl",
|
||||
sh = "zsh",
|
||||
shell = { p = "perl", n = "node" },
|
||||
max_lines = 99,
|
||||
deadline = 500,
|
||||
unsafe = { "rm", "poweroff", "mv" },
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
Loading…
Add table
Add a link
Reference in a new issue