lv-config.example-no-ts.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. --[[
  2. O is the global options object
  3. Linters should be
  4. filled in as strings with either
  5. a global executable or a path to
  6. an executable
  7. ]]
  8. -- THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT
  9. -- general
  10. O.format_on_save = true
  11. O.auto_complete = true
  12. O.colorscheme = "spacegray"
  13. O.auto_close_tree = 0
  14. O.wrap_lines = false
  15. O.timeoutlen = 100
  16. O.leader_key = " "
  17. O.ignore_case = true
  18. O.smart_case = true
  19. -- TODO User Config for predefined plugins
  20. -- After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile
  21. O.plugin.dashboard.active = true
  22. O.plugin.colorizer.active = false
  23. O.plugin.ts_playground.active = false
  24. O.plugin.indent_line.active = false
  25. O.plugin.zen.active = false
  26. -- dashboard
  27. -- O.dashboard.custom_header = {""}
  28. -- O.dashboard.footer = {""}
  29. -- if you don't want all the parsers change this to a table of the ones you want
  30. O.treesitter.ensure_installed = {}
  31. O.treesitter.ignore_install = { "haskell" }
  32. O.treesitter.highlight.enabled = true
  33. -- python
  34. -- O.python.linter = 'flake8'
  35. O.lang.python.isort = true
  36. O.lang.python.diagnostics.virtual_text = true
  37. O.lang.python.analysis.use_library_code_types = true
  38. -- javascript
  39. O.lang.tsserver.linter = nil
  40. -- Additional Plugins
  41. -- O.user_plugins = {
  42. -- {"folke/tokyonight.nvim"}, {
  43. -- "ray-x/lsp_signature.nvim",
  44. -- config = function() require"lsp_signature".on_attach() end,
  45. -- event = "InsertEnter"
  46. -- }
  47. -- }
  48. -- Autocommands (https://neovim.io/doc/user/autocmd.html)
  49. -- O.user_autocommands = {{ "BufWinEnter", "*", "echo \"hi again\""}}
  50. -- Additional Leader bindings for WhichKey
  51. -- O.user_which_key = {
  52. -- A = {
  53. -- name = "+Custom Leader Keys",
  54. -- a = { "<cmd>echo 'first custom command'<cr>", "Description for a" },
  55. -- b = { "<cmd>echo 'second custom command'<cr>", "Description for b" },
  56. -- },
  57. -- }