nvim: move module: fschauen.window -> fschauen.util.window
This commit is contained in:
parent
f0011b9eb1
commit
84673a04a5
4 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ M.setup = function()
|
||||||
-- disable highlight until next search
|
-- disable highlight until next search
|
||||||
map("n", "<cr>", "<cmd>nohlsearch<cr>")
|
map("n", "<cr>", "<cmd>nohlsearch<cr>")
|
||||||
|
|
||||||
local window = require("fschauen.window")
|
local window = require("fschauen.util.window")
|
||||||
|
|
||||||
-- window resizing
|
-- window resizing
|
||||||
map("n", "<s-Up>", window.resize_up(2), { desc = "Resize window upward" })
|
map("n", "<s-Up>", window.resize_up(2), { desc = "Resize window upward" })
|
||||||
|
|
|
@ -5,7 +5,7 @@ return {
|
||||||
|
|
||||||
opts = function()
|
opts = function()
|
||||||
local dynamic_color = require("fschauen.util.lualine").dynamic_color
|
local dynamic_color = require("fschauen.util.lualine").dynamic_color
|
||||||
local window = require("fschauen.window")
|
local window = require("fschauen.util.window")
|
||||||
local orange = "#d65d0e"
|
local orange = "#d65d0e"
|
||||||
|
|
||||||
local autoformat = require("fschauen.util.autoformat").lualine()
|
local autoformat = require("fschauen.util.autoformat").lualine()
|
||||||
|
|
|
@ -23,7 +23,7 @@ function M:update_status(is_focused)
|
||||||
|
|
||||||
local path = vim.fn.expand("%:~:.")
|
local path = vim.fn.expand("%:~:.")
|
||||||
|
|
||||||
local window = require("fschauen.window")
|
local window = require("fschauen.util.window")
|
||||||
if window.is_wide() then
|
if window.is_wide() then
|
||||||
return path
|
return path
|
||||||
elseif window.is_medium() then
|
elseif window.is_medium() then
|
||||||
|
|
Loading…
Add table
Reference in a new issue