mirror of
https://github.com/dwinkler1/nvimConfig.git
synced 2026-02-19 22:40:57 -05:00
init wrapper-module config
This commit is contained in:
commit
91755583fd
46 changed files with 4277 additions and 0 deletions
11
ftplugin/sql.lua
Normal file
11
ftplugin/sql.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
vim.g.omni_sql_default_compl_type = "syntax"
|
||||
|
||||
local ts_lib = Config.treesitter_helpers
|
||||
local global_nodes_sql = { 'program', 'cte' }
|
||||
ts_lib.setup_keybindings(global_nodes_sql)
|
||||
|
||||
-- SQL specific keybindings
|
||||
vim.keymap.set({ 'n' }, '<localleader>;', function()
|
||||
vim.api.nvim_call_function('slime#send', { ";\n" })
|
||||
end,
|
||||
{ noremap = true, silent = true, desc = "SQL statment return", buffer = true })
|
||||
Loading…
Add table
Add a link
Reference in a new issue