change to pylsp add vue change to jaq to run code
This commit is contained in:
@ -1 +0,0 @@
|
||||
require("jabs").setup({})
|
@ -1,9 +0,0 @@
|
||||
require("code_runner").setup({
|
||||
focus = false,
|
||||
filetype = {
|
||||
c = "cd $dir && gcc $fileName -o $fileNameWithoutExt -g && $dir/$fileNameWithoutExt",
|
||||
cpp = "cd $dir && g++ $fileName -o $fileNameWithoutExt -g -w -std=c++11 && $dir/$fileNameWithoutExt",
|
||||
go = "cd $dir && go run $fileName",
|
||||
python = "cd $dir && python3 $fileName",
|
||||
},
|
||||
})
|
72
lua/plugin-config/jaq.lua
Normal file
72
lua/plugin-config/jaq.lua
Normal file
@ -0,0 +1,72 @@
|
||||
require("jaq-nvim").setup({
|
||||
cmds = {
|
||||
-- Uses vim commands
|
||||
internal = {
|
||||
lua = "luafile %",
|
||||
vim = "source %",
|
||||
},
|
||||
|
||||
-- Uses shell commands
|
||||
external = {
|
||||
markdown = "glow %",
|
||||
python = "python %",
|
||||
go = "go run %",
|
||||
sh = "sh %",
|
||||
c = "cd $dir && gcc $file -o $fileBase -g && $dir/$fileBase",
|
||||
cpp = "cd $dir && g++ $file -o $fileBase -g -w -std=c++11 && $dir/$fileBase",
|
||||
},
|
||||
},
|
||||
|
||||
behavior = {
|
||||
-- Default type
|
||||
default = "terminal",
|
||||
|
||||
-- Start in insert mode
|
||||
startinsert = false,
|
||||
|
||||
-- Use `wincmd p` on startup
|
||||
wincmd = false,
|
||||
|
||||
-- Auto-save files
|
||||
autosave = false,
|
||||
},
|
||||
|
||||
ui = {
|
||||
float = {
|
||||
-- See ':h nvim_open_win'
|
||||
border = "none",
|
||||
|
||||
-- See ':h winhl'
|
||||
winhl = "Normal",
|
||||
borderhl = "FloatBorder",
|
||||
|
||||
-- See ':h winblend'
|
||||
winblend = 0,
|
||||
|
||||
-- Num from `0-1` for measurements
|
||||
height = 0.8,
|
||||
width = 0.8,
|
||||
x = 0.5,
|
||||
y = 0.5,
|
||||
},
|
||||
|
||||
terminal = {
|
||||
-- Window position
|
||||
position = "bot",
|
||||
|
||||
-- Window size
|
||||
size = 10,
|
||||
|
||||
-- Disable line numbers
|
||||
line_no = false,
|
||||
},
|
||||
|
||||
quickfix = {
|
||||
-- Window position
|
||||
position = "bot",
|
||||
|
||||
-- Window size
|
||||
size = 10,
|
||||
},
|
||||
},
|
||||
})
|
Reference in New Issue
Block a user