Add glow plugin and update prefect variable
- Add 'pkgs.glow' to 'default.nix' - Add and configure 'glow.nvim' plugin in 'plugins/default.nix' - Update 'postgres_dbname' variable to 'baseddata' in 'baseddata-worker.nix'
This commit is contained in:
parent
5d0b1b9be7
commit
45ee82da0e
|
@ -25,6 +25,7 @@
|
|||
pkgs.shellharden
|
||||
pkgs.shfmt
|
||||
pkgs.stylua
|
||||
pkgs.glow
|
||||
];
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
|
|
|
@ -41,6 +41,17 @@ in {
|
|||
pkgs.vimPlugins.vim-dadbod-completion
|
||||
pkgs.vimPlugins.fugitive
|
||||
|
||||
(pkgs.vimUtils.buildVimPlugin
|
||||
{
|
||||
name = "glow.nvim";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "ellisonleao";
|
||||
repo = "glow.nvim";
|
||||
rev = "238070a";
|
||||
sha256 = "sha256-GsNcASzVvY0066kak2nvUY5luzanoBclqcUOsODww8g=";
|
||||
};
|
||||
})
|
||||
|
||||
(pkgs.vimUtils.buildVimPlugin
|
||||
{
|
||||
name = "parrot.nvim";
|
||||
|
@ -116,6 +127,16 @@ in {
|
|||
}
|
||||
)
|
||||
|
||||
require('glow').setup({
|
||||
border = "shadow",
|
||||
style = "dark",
|
||||
pager = false,
|
||||
width = 80,
|
||||
height = 100,
|
||||
width_ratio = 0.7,
|
||||
height_ratio = 0.7,
|
||||
})
|
||||
|
||||
-- Custom color for modified buffers
|
||||
vim.api.nvim_set_hl(0, "BufferManagerModified", { fg = "#988100" })
|
||||
|
||||
|
|
|
@ -235,7 +235,7 @@ in {
|
|||
|
||||
.venv/bin/prefect variable set "osm_history_dir" "/media/baseddata-data/osm-history" --overwrite
|
||||
.venv/bin/prefect variable set "mongo_db_name" "baseddata" --overwrite
|
||||
.venv/bin/prefect variable set "postgres_dbname" "dev_baseddata_models" --overwrite
|
||||
.venv/bin/prefect variable set "postgres_dbname" "baseddata" --overwrite
|
||||
.venv/bin/prefect variable set "postgres_schema" "models_final" --overwrite
|
||||
.venv/bin/prefect variable set "unique_key" "row_uuid" --overwrite
|
||||
|
||||
|
|
Loading…
Reference in New Issue