final touches?

This commit is contained in:
Anish Lakhwara 2024-08-26 23:17:11 -07:00
parent f7d7d75bb3
commit 17e51c791d
2 changed files with 6 additions and 6 deletions

View file

@ -12,11 +12,11 @@
(let [msg "No Active Lsp" (let [msg "No Active Lsp"
buf_ft (vim.api.nvim_buf_get_option 0 "filetype") buf_ft (vim.api.nvim_buf_get_option 0 "filetype")
clients (vim.lsp.get_active_clients)] clients (vim.lsp.get_active_clients)]
(if (= (next clients) nil) msg) (if (= (next clients) nil) msg)
(each [_ client (ipairs clients)] (each [_ client (ipairs clients)]
(let [filetypes (. client :config :filetypes)] (let [filetypes (. client :config :filetypes)]
(if (and filetypes (vim.fn.index filetypes buf_ft)) client.name))) (if (and filetypes (vim.fn.index filetypes buf_ft)) client.name)))
msg))] msg))]
:lualine_x [:filetype]}})) :lualine_x [:filetype]}}))
(require :neo-tree) (require :neo-tree)

View file

@ -20,7 +20,7 @@
# " match with %link # " match with %link
# syntax match VimwikiPlaceholder /^\s*%link\ze\%(\s.*\)\?$/ nextgroup=VimwikiPlaceholderParam skipwhite # syntax match VimwikiPlaceholder /^\s*%link\ze\%(\s.*\)\?$/ nextgroup=VimwikiPlaceholderParam skipwhite
# ''; # '';
".config/nvim".source = ./config; ".config/nvim".source = ./config;
}; };
#environment.systemPackages = with customPlugins; [ tidal ]; #environment.systemPackages = with customPlugins; [ tidal ];