Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TwIStOy committed Nov 22, 2023
1 parent bd6b60d commit 1093089
Show file tree
Hide file tree
Showing 11 changed files with 368 additions and 282 deletions.
212 changes: 0 additions & 212 deletions lua/ht/plugins/ui/neo-tree.lua

This file was deleted.

37 changes: 0 additions & 37 deletions lua/ht/plugins/ui/nvim-colorizer.lua

This file was deleted.

33 changes: 0 additions & 33 deletions lua/ht/plugins/ui/nvim-scrollview.lua

This file was deleted.

13 changes: 13 additions & 0 deletions src/conf/plugins/edit/conform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,20 @@ const spec: PluginOpts<[]> = {
formatters: formatters_opts,
formatters_by_ft: formatters_by_ft,
},
event: "BufReadPost",
config: true,
keys: [
{
[1]: "<leader>fc",
[2]: () => {
let conform = luaRequire("conform");
conform.format({
async: true,
});
},
desc: "format-file",
},
],
},
};

Expand Down
6 changes: 6 additions & 0 deletions src/conf/plugins/ui/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import { plugin as bufferline } from "./bufferline";
import { plugin as noice } from "./noice";
import { plugin as nvimNotify } from "./nvim-notify";
import { plugin as lualine } from "./lualine";
import { plugin as nvimColorizer } from "./nvim-colorizer";
import { plugin as nvimScrollview } from "./nvim-scrollview";
import { plugin as neoTreeNvim } from "./neo-tree-nvim";

export const plugins = [
twilight,
Expand All @@ -18,4 +21,7 @@ export const plugins = [
nvimNotify,
noice,
lualine,
nvimColorizer,
nvimScrollview,
neoTreeNvim,
] as const;
Loading

0 comments on commit 1093089

Please sign in to comment.