Skip to content

Commit a6fbba1

Browse files
committed
fix: readme typos
1 parent a0f43a9 commit a6fbba1

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

readme.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Cosmic-UI is a simple wrapper around specific vim functionality. Built in order
1616

1717
- Rename floating popup & file change notification
1818
- Code Actions
19-
- Exports values such as the border value set in `.setup` to use elsewhere in your configuration
2019

2120
## 📷 Screenshots
2221

@@ -61,14 +60,21 @@ You may override any of the settings below by passing a config object to `.setup
6160
row = 1,
6261
col = 0,
6362
},
63+
size = {
64+
width = 25,
65+
height = 2,
66+
},
6467
relative = 'cursor',
6568
border = {
6669
highlight = 'FloatBorder',
70+
style = _G.CosmicUI_user_opts.border,
6771
text = {
68-
top = 'Code Actions',
69-
top_align = 'center',
72+
top = ' Rename ',
73+
top_align = 'left',
7074
},
71-
padding = { 0, 1 },
75+
},
76+
win_options = {
77+
winhighlight = 'Normal:Normal',
7278
},
7379
},
7480
},
@@ -118,11 +124,4 @@ map('n', '<leader>ga', '<cmd>lua require("cosmic-ui").code_actions()<cr>')
118124
map('v', '<leader>ga', '<cmd>lua require("cosmic-ui").range_code_actions()<cr>')
119125
```
120126

121-
#### Get border
122-
123-
```lua
124-
local cosmic_ui = require('cosmic-ui')
125-
local border = cosmic_ui.get_border()
126-
```
127-
128127
_More coming soon..._

0 commit comments

Comments
 (0)