Better postgresql highlighting, just highlighting
This commit is contained in:
parent
c0d1d5dd70
commit
96f2231bcc
@ -456,6 +456,14 @@ return require('packer').startup(function(use)
|
|||||||
use 'eandrju/cellular-automaton.nvim'
|
use 'eandrju/cellular-automaton.nvim'
|
||||||
use 'nyoom-engineering/oxocarbon.nvim'
|
use 'nyoom-engineering/oxocarbon.nvim'
|
||||||
use 'folke/tokyonight.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
|
-- Automatically set up your configuration after cloning packer.nvim
|
||||||
-- Put this at the end after all plugins
|
-- Put this at the end after all plugins
|
||||||
|
@ -7,6 +7,7 @@ require('nvim-treesitter.configs').setup {
|
|||||||
|
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
disable = { 'sql' }, -- since pgsql.vim is currently better at highlighting
|
||||||
},
|
},
|
||||||
incremental_selection = {
|
incremental_selection = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
1
lua/plugins/pgsql-vim.lua
Normal file
1
lua/plugins/pgsql-vim.lua
Normal file
@ -0,0 +1 @@
|
|||||||
|
vim.g.sql_type_default = 'pgsql';
|
Loading…
Reference in New Issue
Block a user