Better postgresql highlighting, just highlighting

This commit is contained in:
Tyler Hallada 2023-07-04 23:44:53 -04:00
parent 2751d51b8f
commit 227e74353f
3 changed files with 10 additions and 0 deletions

View File

@ -456,6 +456,14 @@ return require('packer').startup(function(use)
use 'eandrju/cellular-automaton.nvim'
use 'nyoom-engineering/oxocarbon.nvim'
use 'folke/tokyonight.nvim'
use {
'lifepillar/pgsql.vim',
ft = { 'sql' },
config = function()
require('plugins.pgsql-vim')
end,
}
use 'NoahTheDuke/vim-just'
-- Automatically set up your configuration after cloning packer.nvim
-- Put this at the end after all plugins

View File

@ -7,6 +7,7 @@ require('nvim-treesitter.configs').setup {
highlight = {
enable = true,
disable = { 'sql' }, -- since pgsql.vim is currently better at highlighting
},
incremental_selection = {
enable = true,

View File

@ -0,0 +1 @@
vim.g.sql_type_default = 'pgsql';