···11+local function filename()
22+ local path = vim.fn.expand("%:p:h")--[[@as string]]
33+ path = path:gsub("oil://", "")
44+ path = vim.fs.joinpath(path, "") --
55+ :gsub("^" .. vim.pesc(vim.fs.joinpath(vim.fn.getcwd(0, 0), "")), "")
66+77+ local name = vim.fn.expand("%:p:t")--[[@as string]]
88+ if vim.bo.filetype == "oil" then
99+ name = path == "" and "." or path
1010+ path = "oil://"
1111+ elseif name == "" then
1212+ name = "[No Name]"
1313+ end
1414+ return path .. name
1515+end
1616+117---Show attached LSP clients in `[name1, name2]` format.
218---Long server names will be modified. For example, `lua-language-server` will be shorten to `lua-ls`
319---Returns an empty string if there aren't any attached LSP clients.
···2844 -- end
2945 return "[ts:" .. tabsize .. "]"
3046end
4747+local _ = vim.lsp.tagfunc
31483249function _G.statusline()
3350 return table.concat({
3434- "%f",
5151+ filename(),
3552 "%h%w%r",
3653 "%=",
3754 tab_size(),
+5-5
rocks.toml
···1414# List of Neovim plugins to install alongside their versions.
1515# If the plugin name contains a dot then you must add quotes to the key name!
1616[plugins]
1717-"rocks.nvim" = "2.35.2"
1818-"rocks-git.nvim" = "2.0.0"
1717+"rocks.nvim" = "2.36.0"
1818+"rocks-git.nvim" = "2.0.1"
1919"rocks-dev.nvim" = "1.2.4"
2020"rocks-config.nvim" = "2.1.4"
2121"rocks-edit.nvim" = "scm"
···2626nvim-lspconfig = "0.1.8"
2727"mason.nvim" = "1.10.0"
2828"indent-blankline.nvim" = "3.7.1"
2929-"conform.nvim" = "6.0.0"
2929+"conform.nvim" = "6.1.0"
3030"fidget.nvim" = "1.4.1"
3131nvim-ufo = "1.4.0"
3232luasnip = "2.3.0"
···3535"mini.ai" = "scm"
3636nvim-surround = "2.1.5"
3737nvim-treesitter-legacy-api = "0.9.2"
3838-fzf-lua = "0.0.1367"
3838+fzf-lua = "0.0.1378"
39394040tree-sitter-css = "scm"
4141tree-sitter-ecma = "scm"
···7171tree-sitter-ini = "scm"
7272tree-sitter-vimdoc = "scm"
7373tree-sitter-tmux = "scm"
7474-"lazydev.nvim" = "1.7.0"
7474+"lazydev.nvim" = "1.7.1"
7575tree-sitter-astro = "scm"
7676tree-sitter-jsonc = "scm"
7777tree-sitter-html_tags = "scm"
+2-1
todo.norg
···11- (x) `ds'` to delete surrounding `'`
22- ( ) `ds%` to delete any surrounding under cursor
33- ( ) `:h 'matchpairs'`
44-- ( ) statusbar
44+- ( ) statusline
55+- ( ) [sg.nvim]{https://github.com/sourcegraph/sg.nvim} support with luarocks maybe?