Some fixes + sqls from work mac
This commit is contained in:
parent
1e36116761
commit
7819fd7509
@ -226,6 +226,7 @@ return require('packer').startup(function(use)
|
||||
require('plugins.gruvbox')
|
||||
end,
|
||||
}
|
||||
use 'NLKNguyen/papercolor-theme'
|
||||
use {
|
||||
'akinsho/toggleterm.nvim',
|
||||
tag = '*',
|
||||
@ -339,6 +340,7 @@ return require('packer').startup(function(use)
|
||||
require('plugins.lualine-nvim')
|
||||
end,
|
||||
}
|
||||
use 'nanotee/sqls.nvim'
|
||||
use 'tpope/vim-unimpaired'
|
||||
use 'tpope/vim-repeat'
|
||||
use 'tpope/vim-eunuch'
|
||||
|
@ -26,6 +26,7 @@ require('lspconfig')['jsonls'].setup({
|
||||
require('lspconfig')['eslint'].setup({
|
||||
on_attach = on_attach,
|
||||
flags = lsp_flags,
|
||||
root_dir = require('lspconfig').util.find_git_ancestor,
|
||||
})
|
||||
require('lspconfig')['html'].setup({
|
||||
on_attach = on_attach,
|
||||
@ -73,7 +74,9 @@ require('lspconfig')['marksman'].setup({
|
||||
flags = lsp_flags,
|
||||
})
|
||||
require('lspconfig')['sqls'].setup({
|
||||
on_attach = on_attach,
|
||||
on_attach = function(client, bufn)
|
||||
require('sqls').on_attach(client, bufn)
|
||||
end,
|
||||
flags = lsp_flags,
|
||||
})
|
||||
require('lspconfig')['taplo'].setup({
|
||||
|
@ -63,7 +63,7 @@ null_ls.setup({
|
||||
-- Formatter
|
||||
null_ls.builtins.formatting.eslint_d,
|
||||
null_ls.builtins.formatting.markdownlint,
|
||||
-- null_ls.builtins.formatting.prettierd,
|
||||
null_ls.builtins.formatting.prettierd,
|
||||
null_ls.builtins.formatting.sqlfluff.with({
|
||||
extra_args = { "--dialect", "postgres" },
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user