diff --git a/fnl/plugins.fnl b/fnl/plugins.fnl index 835b9bf..53fae9b 100644 --- a/fnl/plugins.fnl +++ b/fnl/plugins.fnl @@ -24,6 +24,7 @@ (use :ur4ltz/surround.nvim) (use :b3nj5m1n/kommentary) (use :nelstrom/vim-visual-star-search) + (use :timakro/vim-yadi) (use {1 :nvim-treesitter/nvim-treesitter :run ":TSUpdate"}) (use :nvim-treesitter/nvim-treesitter-textobjects) diff --git a/fnl/settings.fnl b/fnl/settings.fnl index 7bed69b..714bdf6 100644 --- a/fnl/settings.fnl +++ b/fnl/settings.fnl @@ -2,6 +2,8 @@ {require {nvim aniseed.nvim nu aniseed.nvim.util}}) +(nvim.ex.autocmd "BufRead * DetectIndent") + ;; theme ; (global github-theme (require :github-theme)) ; (github-theme.setup {:theme_style :dark}) @@ -49,7 +51,7 @@ :icon ""}} :lualine_c {1 {1 :filename :file_status true}} - :lualine_x ["encoding" "fileformat" "filetype"] + :lualine_x ["%{&expandtab?shiftwidth().\"sp\":\"tabs\"}" "encoding" "fileformat" "filetype"] :lualine_y ["progress"] :lualine_z ["location"]} :inactive_sections {:lualine_a {}